]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: move url escaping to a common place
authorJosh Durgin <josh.durgin@inktank.com>
Thu, 24 Oct 2013 15:37:25 +0000 (08:37 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Thu, 24 Oct 2013 15:58:48 +0000 (08:58 -0700)
commitdd308cd481b368f90a64220847b91fc233d92a59
tree6abd9c3fed2a23713cc4a82789d4d02940ca88f6
parente0e8fb1b2b4a308b2a9317e10c6fd53ad48dbfaf
rgw: move url escaping to a common place

This is useful outside of the s3 interface. Rename url_escape()
url_encode() for consistency with the exsting common url_decode()
function. This is in preparation for the next commit, which needs
to escape url-unsafe characters in another place.

Backport: dumpling
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
src/rgw/rgw_common.cc
src/rgw/rgw_common.h
src/rgw/rgw_rest_s3.cc