]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: Do not enclose the Bucket header in quotes 4862/head
authorWido den Hollander <wido@42on.com>
Wed, 3 Jun 2015 11:13:33 +0000 (13:13 +0200)
committerNathan Cutler <ncutler@suse.com>
Thu, 4 Jun 2015 12:51:27 +0000 (14:51 +0200)
Fixes: #11860
Signed-off-by: Wido den Hollander <wido@42on.com>
(cherry picked from commit 8af25faed93fe02d3dad585b8579ce8b041cc4e6)

src/rgw/rgw_rest.cc

index 1ac46e982e5fb2302728cc33961873a6d6fc9b18..5b6eaefca38690b8ebbc395287591373f6028791 100644 (file)
@@ -360,7 +360,7 @@ void dump_bucket_from_state(struct req_state *s)
   int expose_bucket = g_conf->rgw_expose_bucket;
   if (expose_bucket) {
     if (!s->bucket_name_str.empty())
-      s->cio->print("Bucket: \"%s\"\r\n", s->bucket_name_str.c_str());
+      s->cio->print("Bucket: %s\r\n", s->bucket_name_str.c_str());
   }
 }