diff mbox

rgw: Lighttpd compatibity.

Message ID AANLkTikEd8UUyy3ncf2DiDqR1Aa0UNDy3AVVGnVSyCxK@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

cclien Feb. 17, 2011, 11:20 a.m. UTC
None
diff mbox

Patch

diff --git a/src/rgw/rgw_rest.cc b/src/rgw/rgw_rest.cc
index b923c42..1669e6f 100644
--- a/src/rgw/rgw_rest.cc
+++ b/src/rgw/rgw_rest.cc
@@ -493,7 +493,7 @@  void init_entities_from_header(struct req_state *s)
     }
   } else s->host_bucket = NULL;

-  const char *req_name = s->path_name;
+  const char *req_name = s->path_name_url.c_str();
   const char *p;

   if (*req_name == '?') {