[#7153] eagerly escape the S3 path in accordance with the S3 UriEncode signing rules

This commit is contained in:
Gani Georgiev
2025-09-06 11:59:32 +03:00
parent 28de01a188
commit 1359a6f8fd
3 changed files with 40 additions and 10 deletions

View File

@@ -17,7 +17,7 @@ func TestS3CopyObject(t *testing.T) {
httpClient := tests.NewClient(
&tests.RequestStub{
Method: http.MethodPut,
URL: "http://test_bucket.example.com/@dst_test",
URL: "http://test_bucket.example.com/%40dst_test",
Match: func(req *http.Request) bool {
return tests.ExpectHeaders(req.Header, map[string]string{
"test_header": "test",