]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: Use decoded URI when verifying TempURL 13007/head
authorMichal Koutný <mkoutny@suse.com>
Wed, 18 Jan 2017 19:15:29 +0000 (20:15 +0100)
committerMichal Koutný <mkoutny@suse.com>
Fri, 20 Jan 2017 22:28:21 +0000 (23:28 +0100)
commit4e1318f4dcbfd64c3ec94f4addf6e38ddd6c013a
tree6171ab635103b5904043feb7908729c1e1af5fc1
parent5db320ce93a335015bf5e2b77ff234e44c764b9a
rgw: Use decoded URI when verifying TempURL

Instead of calliing url_decode directly, we reuse s->decoded_uri that is
initialized in RGWREST::preprocess().

Fixes: http://tracker.ceph.com/issues/18590
Signed-off-by: Michal Koutný <mkoutny@suse.com>
src/rgw/rgw_swift_auth.cc