Martin Smiech
03/10/2025, 2:54 PMAndrew O'Hara
03/10/2025, 3:01 PMS3Bucket.Http(
...,
forcePathStyle = true
)
Martin Smiech
03/10/2025, 3:20 PMCopyObject.kt#31
which is validated and then that particular error is thrown in: OkHttp3 Headers.kt#checkValue
Andrew O'Hara
03/10/2025, 3:22 PMMartin Smiech
03/10/2025, 3:24 PMAndrew O'Hara
03/10/2025, 3:25 PMdave
03/10/2025, 4:46 PMMartin Smiech
03/10/2025, 4:50 PMAndrew O'Hara
03/10/2025, 7:28 PMMartin Smiech
03/11/2025, 10:26 AMSignatureDoesNotMatchError
dave
03/11/2025, 11:23 AMMartin Smiech
03/11/2025, 1:40 PMAndrew O'Hara
03/11/2025, 1:50 PM.
)
2. Always url-encode source
for the copyObject
operation, and any others that use the bucket name in a header (I imagine if the bucket name was already DNS compliant, it wouldn't be affected by url-encoding)Andrew O'Hara
03/11/2025, 1:51 PMAndrew O'Hara
03/11/2025, 1:54 PMRequest.header
method doesn't automatically url-encode, which differs from the behaviour I notice in Request.query
Martin Smiech
03/11/2025, 1:58 PM