From: André Malo Date: Sat, 28 Aug 2004 16:08:21 +0000 (+0000) Subject: Fix query string handling for proxied URLs. X-Git-Tag: STRIKER_2_1_0_RC1~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ef13d0f1dae2344f2c7296e20d9ba9c61867fece;p=apache Fix query string handling for proxied URLs. PR: 14518 Submitted by: michael teitler , Jan Kratochvil git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104884 13f79535-47bb-0310-9956-ffa450edef68 --- 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 , + Jan Kratochvil ] + *) Recognize QSA flag in mod_rewrite again. [Jan Kratochvil ] 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);