]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_auth_s3.cc
Import ceph 15.2.8
[ceph.git] / ceph / src / rgw / rgw_auth_s3.cc
index bdee372b10d0fb9726b98eb3a2df0a11488d5780..f6348e05b797d8026e1452d4560d66d00f93d2ad 100644 (file)
@@ -497,7 +497,7 @@ std::string get_v4_canonical_qs(const req_info& info, const bool using_qs)
   }
   if (params->find_first_of('+') != std::string::npos) {
     copy_params = *params;
-    boost::replace_all(copy_params, "+", " ");
+    boost::replace_all(copy_params, "+", "%20");
     params = &copy_params;
   }