]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: Do not enclose the Bucket header in quotes 4844/head
authorWido den Hollander <wido@42on.com>
Wed, 3 Jun 2015 11:13:33 +0000 (13:13 +0200)
committerWido den Hollander <wido@42on.com>
Wed, 3 Jun 2015 18:20:16 +0000 (20:20 +0200)
Fixes: #11860
Signed-off-by: Wido den Hollander <wido@42on.com>
src/rgw/rgw_rest.cc

index 228eea94b2ae3af25fa60af1e772f12406b85211..fffc0036e08f5019fab8c0fc4744152622bb917a 100644 (file)
@@ -362,7 +362,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());
   }
 }