]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: url_encode key name and instance in es sync module 24424/head
authorChang Liu <liuchang0812@gmail.com>
Mon, 5 Mar 2018 07:46:43 +0000 (15:46 +0800)
committerAbhishek Lekshmanan <abhishek@suse.com>
Thu, 4 Oct 2018 09:17:10 +0000 (11:17 +0200)
commitdd211a012b8eb410f0a29dc7992f90312fbc6ff2
treecb2e0187dd102e5ece1806a0ecbf4ae0f05d6b02
parent2c73ec0b8069556a3aa7d26e2fa78fc3982d7778
rgw: url_encode key name and instance in es sync module

Some objects whose name contains space or other special chars
can't be synced to ES correctly. we need to do url_encode when
we send a HTTP request to ES.

Fixes: tracker.ceph.com/issues/23216
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
(cherry picked from commit 13978bb28b7be809033bf24550b21ed2713ddc9b)
src/rgw/rgw_sync_module_es.cc