]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix decoding + characters in URL
authordevicenull <dn@devicenull.org>
Fri, 18 Jul 2014 14:25:51 +0000 (10:25 -0400)
committerYehuda Sadeh <yehuda@redhat.com>
Sat, 2 Aug 2014 20:19:17 +0000 (13:19 -0700)
commitdfcd99567e925bd6565ef4676c560f6c8c89e683
treed70deb723b334b8ae5c9e1ed4854e454849f4648
parentf9716214a35e3cddd3006f3839f9688c41f0c7ca
rgw: fix decoding + characters in URL

Fixes: #8702
Backport: firefly

Only decode + characters to spaces if we're in a query argument. The +
query argument.  The + => ' ' translation is not correct for
file/directory names.

Resolves http://tracker.ceph.com/issues/8702

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Signed-off-by: Brian Rak <dn@devicenull.org>
(cherry picked from commit 4a63396ba1611ed36cccc8c6d0f5e6e3e13d83ee)
src/rgw/rgw_common.cc