]> granicus.if.org Git - apache/commitdiff
* modules/mappers/mod_rewrite.c (hook_uri2file): Revert r1.259 to fix
authorJoe Orton <jorton@apache.org>
Mon, 1 Nov 2004 23:39:28 +0000 (23:39 +0000)
committerJoe Orton <jorton@apache.org>
Mon, 1 Nov 2004 23:39:28 +0000 (23:39 +0000)
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

modules/mappers/mod_rewrite.c

index 0511a78bf2012b72d550e300c397867f7cdaa0b9..65dc3280d90c3959f65bb1126f9026a0288f04b6 100644 (file)
@@ -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);