]> 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 55356/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:35:33 +0000 (11:35 -0500)
commit55a5fef21964c7fa1c059f6bdc35090af4fccafc
tree1ac3dea5433cda456f368d39d85976cc6e4c5bc8
parent8509398c901abaee76eb309c84b85a483114fcd5
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
src/rgw/rgw_rest_user_policy.cc