]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/rest: fix url decode of post params for iam/sts/sns 55357/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 26 Jan 2024 14:53:30 +0000 (09:53 -0500)
committerCasey Bodley <cbodley@redhat.com>
Mon, 29 Jan 2024 16:44:47 +0000 (11:44 -0500)
commit931b4a6f3b3c2e5894db64b1c50e422c8ec7c8d4
treea03dc2a8bd86476e60fa209299d97343263bfb2b
parent58a399f0afd70635bb3b85f4d849898aebc46965
rgw/rest: fix url decode of post params for iam/sts/sns

add the `in_query=true` argument to `url_decode()` to replace '+' with ' '

Fixes: https://tracker.ceph.com/issues/64189
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 4bdc5d18dd68b95c6ccd4c0e77a1bd04ad86dbb8)

Conflicts:
src/rgw/rgw_rest_pubsub.cc no topic policy or SetTopicAttributes
src/rgw/rgw_rest_s3.cc no parse_post_action() from fbbc52aecf3548706b8d5ff49a57200aebc03d54
src/rgw/rgw_rest_iam.cc
src/rgw/rgw_rest_pubsub.cc
src/rgw/rgw_rest_sts.cc
src/rgw/rgw_rest_user_policy.cc