aboutsummaryrefslogtreecommitdiff
path: root/account.go
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@sap.com>2022-02-07 11:18:51 +0100
committerStefan Majewsky <stefan.majewsky@sap.com>2022-02-07 11:18:51 +0100
commit9e4ca6d1af64e72f60dc40d587f16c1b203357b4 (patch)
treea8297deca73f723e6921dc5bdde8ebcb66f24c1e /account.go
parent79df56a219c657d51327ca95a1696cd329629665 (diff)
downloadgo-schwift-9e4ca6d1af64e72f60dc40d587f16c1b203357b4.tar.gz
do not mangle non-standard object paths
If the object path contains multiple slashes back-to-back, these used to be wrongly merged by net.url.URL.String(). For example, account = "AUTH_aaa" container = "ccc" object = "foo///bar" would become something like https://swift.example.com/v1/AUTH_aaa/ccc/foo/bar With this change, we produce a more correct URL: https://swift.example.com/v1/AUTH_aaa/ccc/foo%2f%2f%2fbar
Diffstat (limited to 'account.go')
0 files changed, 0 insertions, 0 deletions