]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: Do not enclose the Bucket header in quotes
authorWido den Hollander <wido@42on.com>
Wed, 3 Jun 2015 11:13:33 +0000 (13:13 +0200)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 31 Aug 2015 21:08:34 +0000 (14:08 -0700)
Fixes: #11860
Signed-off-by: Wido den Hollander <wido@42on.com>
(cherry picked from commit 8af25faed93fe02d3dad585b8579ce8b041cc4e6)

src/rgw/rgw_rest.cc

index 882aefd2bb625f5490dcc5b6a143272905be425a..9e2338f6dd3fdd1d0bf6d0f10179926b8b7f6d51 100644 (file)
@@ -295,7 +295,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());
   }
 }