]> git-server-git.apps.pok.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:41:53 +0000 (14:41 -0800)
commit617002d3ff469ef409a83e35d4f4fd6a0b5b1278
tree551cfced6df2d156a3e027e0a3a70af8196f1492
parentd7ccf71d962cec1571f53c9392f9b58350569062
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