projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6bbaaf
)
Merge branch '17810-s3-escape-non-unreserved-chars'
author
Tom Clegg <tom@curii.com>
Fri, 18 Jun 2021 02:59:00 +0000
(22:59 -0400)
committer
Peter Amstutz <peter.amstutz@curii.com>
Fri, 9 Jul 2021 14:30:22 +0000
(10:30 -0400)
fixes #17810
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
services/keep-web/s3_test.go
patch
|
blob
|
history
diff --git
a/services/keep-web/s3_test.go
b/services/keep-web/s3_test.go
index d336c5f09f2ccfdf1f55a6ecaf05445aab4c4b91..f411fde871cdba0cc9bbb2584be9a9bb878c6c1e 100644
(file)
--- a/
services/keep-web/s3_test.go
+++ b/
services/keep-web/s3_test.go
@@
-563,7
+563,7
@@
func (s *IntegrationSuite) TestS3NormalizeURIForSignature(c *check.C) {
{"/foo%2fbar", "/foo/bar"}, // / must not be escaped
{"/(foo)/[];,", "/%28foo%29/%5B%5D%3B%2C"}, // ()[];, must be escaped
{"/foo%5bbar", "/foo%5Bbar"}, // %XX must be uppercase
- {"//foo///
bar", "/foo/bar"},
// "//" and "///" must be squashed to "/"
+ {"//foo///
.bar", "/foo/.bar"},
// "//" and "///" must be squashed to "/"
} {
c.Logf("trial %q", trial)