]> 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>
Tue, 23 Sep 2014 20:33:01 +0000 (13:33 -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>
(cherry picked from commit ffac52b316e7022796d44ae58804d9c20b9c3df9)

src/civetweb
src/rgw/rgw_main.cc

index 438a4d0f58f8126a3e0d48860a7cd3c56a3c4659..ed8e8d19576c4baac3aff643c0fd9b0c1218bb33 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 438a4d0f58f8126a3e0d48860a7cd3c56a3c4659
+Subproject commit ed8e8d19576c4baac3aff643c0fd9b0c1218bb33
index 9614b0787cc193dc36ef135ed641c0bb01943fcf..9bf9f83c1dc2b4602f3105756d5c89b2ce08a295 100644 (file)
@@ -922,7 +922,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));