diff options
author | André Malo <nd@apache.org> | 2004-08-28 18:08:21 +0200 |
---|---|---|
committer | André Malo <nd@apache.org> | 2004-08-28 18:08:21 +0200 |
commit | ef13d0f1dae2344f2c7296e20d9ba9c61867fece (patch) | |
tree | cb5d3b1e35d1fa4acda4e8d75a9510d8348066e5 | |
parent | Fix darn typo. (diff) | |
download | apache2-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-- | CHANGES | 4 | ||||
-rw-r--r-- | modules/mappers/mod_rewrite.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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); |