]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mod_rewrite:Fix query string handling for proxied URLs.
authorGraham Leggett <minfrin@apache.org>
Wed, 13 Oct 2004 17:12:09 +0000 (17:12 +0000)
committerGraham Leggett <minfrin@apache.org>
Wed, 13 Oct 2004 17:12:09 +0000 (17:12 +0000)
PR: 14518
Obtained from:
Submitted by: michael teitler <michael.teitler cetelem.fr>, Jan Kratochvil <rcpt-dev.AT.httpd.apache.org jankratochvil.net>
Reviewed by: nd, jerenkrantz, minfrin

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@105433 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
STATUS
modules/mappers/mod_rewrite.c

diff --git a/CHANGES b/CHANGES
index 2527b20a3483c47ffddb9ed4673dd05e66b0deff..b403961f02ffb5f1d976cee309da6662fb4a5c7e 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,9 @@
 Changes with Apache 2.0.53
 
+  *) mod_rewrite: Fix query string handling for proxied URLs. PR 14518.
+     [michael teitler <michael.teitler cetelem.fr>,
+      Jan Kratochvil <rcpt-dev.AT.httpd.apache.org jankratochvil.net>]
+
   *) mod_rewrite: Fix 0 bytes write into random memory position.
      PR 31036. [AndrĂ© Malo]
 
diff --git a/STATUS b/STATUS
index 9f763f6e387d75780b27a0040bd340cefc939cda..4b38165c3f57000eaf061e875adf38cef720b2be 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -1,5 +1,5 @@
 APACHE 2.0 STATUS:                                              -*-text-*-
-Last modified at [$Date: 2004/10/13 17:00:14 $]
+Last modified at [$Date: 2004/10/13 17:12:08 $]
 
 Release:
 
@@ -130,11 +130,13 @@ PATCHES TO BACKPORT FROM 2.1
        (2.0 + 1.3)
          http://www.apache.org/~nd/dbmmap_1.3.patch
        +1: nd, trawick, jerenkrantz, jim
+       minfrin: applied to v2.0. Must it be applied to v2.1 still?
 
     *) mod_rewrite:Fix query string handling for proxied URLs. PR 14518.
        (2.0 + 1.3)
          modules/mappers/mod_rewrite.c: r1.259
        +1: nd, jerenkrantz, minfrin
+       minfrin: applied to v2.0
 
     *) mod_rewrite: Handle per-location rules when r->filename is unset.
        Previously this would segfault or simply not match as expected,
index 23770b48fbe32a87e203e2fd26aac192c8e585c5..6a5c3b38d0363b5892b89f9213ec4cd289bf9b41 100644 (file)
@@ -1222,7 +1222,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);