Skip to content

Commit 0b6be6a

Browse files
author
Florian Kaiser
committed
remove urlencoding, unsupported by cloudflare
1 parent 8a6591b commit 0b6be6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/args.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ utils::Multimap ObjectConditionalReadArgs::Headers() const {
127127
utils::Multimap ObjectConditionalReadArgs::CopyHeaders() const {
128128
utils::Multimap result_headers;
129129

130-
std::string copy_source = curlpp::escape("/" + bucket + "/" + object);
130+
std::string copy_source = "/" + bucket + "/" + object;
131131
if (!version_id.empty()) {
132132
copy_source += "?versionId=" + curlpp::escape(version_id);
133133
}

0 commit comments

Comments
 (0)