]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: clean up generic attribute val
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 9 Jan 2019 03:40:46 +0000 (19:40 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Wed, 9 Jan 2019 21:23:45 +0000 (13:23 -0800)
commit0e032311ad87b46adfab8967aa6af045579c3e9d
tree595decac284a4a5fd11fbc4274c9fcfa58aea65f
parentc5e997ecec1e4e0b7aa9f871fde85d044edb6810
rgw: clean up generic attribute val

There are cases where we keep/kept attributes value with a null termination,
which bufferlist.to_str() returns as part of the string and returned
headers are broken.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_rest_s3.cc