summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Malo <nd@apache.org>2004-08-28 18:08:21 +0200
committerAndré Malo <nd@apache.org>2004-08-28 18:08:21 +0200
commitef13d0f1dae2344f2c7296e20d9ba9c61867fece (patch)
treecb5d3b1e35d1fa4acda4e8d75a9510d8348066e5
parentFix darn typo. (diff)
downloadapache2-ef13d0f1dae2344f2c7296e20d9ba9c61867fece.tar.xz
apache2-ef13d0f1dae2344f2c7296e20d9ba9c61867fece.zip
Fix query string handling for proxied URLs.
PR: 14518 Submitted by: michael teitler <michael.teitler cetelem.fr>, Jan Kratochvil <rcpt-dev.AT.httpd.apache.org jankratochvil.net> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104884 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--CHANGES4
-rw-r--r--modules/mappers/mod_rewrite.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 46e2eeba57..44ea2575ad 100644
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,10 @@ Changes with Apache 2.1.0-dev
[Remove entries to the current 2.0 section below, when backported]
+ *) 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>]
+
*) Recognize QSA flag in mod_rewrite again.
[Jan Kratochvil <rcpt-dev.AT.httpd.apache.org jankratochvil.net>]
diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c
index e2e9207943..58f9a78e49 100644
--- a/modules/mappers/mod_rewrite.c
+++ b/modules/mappers/mod_rewrite.c
@@ -4274,7 +4274,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);