]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: add encode_slash param in url_encode
authorlvshanchun <lvshanchun@gmail.com>
Wed, 29 Nov 2017 03:26:44 +0000 (11:26 +0800)
committerYehuda Sadeh <yehuda@redhat.com>
Thu, 12 Apr 2018 22:38:36 +0000 (15:38 -0700)
commitc43d497376f00a7f00a77cde5131eab89f4a4ef0
tree2b24185b332154ad5280a7dc9b3e11cf7dd5ed6c
parent425b3287261813534566e1354a2b62d28fa49bf8
rgw: add encode_slash param in url_encode

when sent request to S3, we should not encode the forward
slash character('/') in the object key name, so we need add
a encode_slash param in url_encode to decide whether to encode
the slash or not.

Signed-off-by: lvshanchun <lvshanchun@gmail.com>
src/rgw/rgw_common.cc
src/rgw/rgw_common.h