From: Joe Orton Date: Mon, 1 Nov 2004 23:39:28 +0000 (+0000) Subject: * modules/mappers/mod_rewrite.c (hook_uri2file): Revert r1.259 to fix X-Git-Tag: 2.1.1~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fae612ac12f1dec72dcd6091573e9dc4458f90b;p=thirdparty%2Fapache%2Fhttpd.git * modules/mappers/mod_rewrite.c (hook_uri2file): Revert r1.259 to fix regression in proxy and QUERY_STRING handling (though with proxy issues on HEAD mod_rewrite [P] stuff is still completely broken). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105666 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c index 0511a78bf20..65dc3280d90 100644 --- a/modules/mappers/mod_rewrite.c +++ b/modules/mappers/mod_rewrite.c @@ -4249,7 +4249,7 @@ static int hook_uri2file(request_rec *r) r->path_info, NULL); } if (r->args != NULL && - r->uri != r->unparsed_uri) { + r->uri == r->unparsed_uri) { /* see proxy_http:proxy_http_canon() */ r->filename = apr_pstrcat(r->pool, r->filename, "?", r->args, NULL);