]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: disable civetweb url decoding
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 31 Jul 2014 04:32:48 +0000 (21:32 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Thu, 14 Aug 2014 23:06:50 +0000 (16:06 -0700)
Fixes: #8621
We want to have the raw request uri, as we do the decoding ourselves.

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

index 438a4d0f58f8126a3e0d48860a7cd3c56a3c4659..ed8e8d19576c4baac3aff643c0fd9b0c1218bb33 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 438a4d0f58f8126a3e0d48860a7cd3c56a3c4659
+Subproject commit ed8e8d19576c4baac3aff643c0fd9b0c1218bb33
index c3de2ae9368a4b37749de42d4f0dc4bc3128431c..3443a6195df2899f6b76a38735a87faa983f3142 100644 (file)
@@ -931,7 +931,8 @@ public:
     snprintf(thread_pool_buf, sizeof(thread_pool_buf), "%d", (int)g_conf->rgw_thread_pool_size);
     string port_str;
     conf->get_val("port", "80", &port_str);
-    const char *options[] = {"listening_ports", port_str.c_str(), "enable_keep_alive", "yes", "num_threads", thread_pool_buf, NULL};
+    const char *options[] = {"listening_ports", port_str.c_str(), "enable_keep_alive", "yes", "num_threads", thread_pool_buf,
+                             "decode_url", "no", NULL};
 
     struct mg_callbacks cb;
     memset((void *)&cb, 0, sizeof(cb));