Skip to content

Commit

Permalink
Merge pull request #37467 from smithfarm/wip-47322-nautilus
Browse files Browse the repository at this point in the history
nautilus: rgw: replace '+' with "%20" in canonical query string for s3 v4 auth.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
  • Loading branch information
yuriw committed Sep 30, 2020
2 parents 696d2d4 + ab53615 commit 4af2205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rgw/rgw_auth_s3.cc
Expand Up @@ -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;
}

Expand Down

0 comments on commit 4af2205

Please sign in to comment.