]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: url decode http query params correctly
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 11 Dec 2014 17:07:10 +0000 (09:07 -0800)
committerJosh Durgin <jdurgin@redhat.com>
Fri, 16 Jan 2015 22:42:48 +0000 (14:42 -0800)
commitb10c0d5110547586b2edac53c267391d3d42f974
tree0abe8a8bf588f422678031b99a92c3ae72889cd9
parent65bf3b08b572b9b25ad064fb784742e5d6456f06
rgw: url decode http query params correctly

Fixes: #10271
Backport: firefly

This got broken by the fix for #8702. Since we now only url_decode if
we're in query, we need to specify that we're in query when decoding
these args.

Reported-by: Georgios Dimitrakakis <giorgis@acmac.uoc.gr>
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 21e07eb6abacb085f81b65acd706b46af29ffc03)
src/rgw/rgw_common.cc
src/rgw/rgw_common.h