]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: url decode PutUserPolicy params 29970/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Fri, 9 Aug 2019 14:53:51 +0000 (16:53 +0200)
committerNathan Cutler <ncutler@suse.com>
Wed, 28 Aug 2019 15:40:42 +0000 (17:40 +0200)
commit728352c5584d216aa5454585a0701c0f353d0106
tree4a12053515163662aa12f9c351d6863610fcca95
parent8024fa1c6b7a57dd9376199225c889fb0b6241dd
rgw: url decode PutUserPolicy params

Since these are sent as a part of a POST request which is usually urlencoded,
the json parser would later return invalid json for jsons containing whitespace

Fixes: https://tracker.ceph.com/issues/41189
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit fac4ab71fbee7f187db57e268c2e750eaf2802bc)
src/rgw/rgw_rest_user_policy.cc