httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 46428] Spaces in URI doesn't encode in proxy-requests
Date Tue, 18 Sep 2012 18:31:20 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46428

Alexey Vlasov <renton@1gb.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #3 from Alexey Vlasov <renton@1gb.ru> ---
By the way this patch didn't solve that problem I described first. You should
add the following:

--- modules/mappers/mod_rewrite.c.orig  2012-09-18 22:30:31.170185072 +0400
+++ modules/mappers/mod_rewrite.c       2012-09-17 23:48:43.428422154 +0400
@@ -769,6 +769,7 @@
         else if (r->args[len-1] == '&') {
             r->args[len-1] = '\0';
         }
+        r->args = ap_escape_uri(r->pool, r->args);
         rewritelog((r, 3, NULL, "split uri=%s -> uri=%s, args=%s", olduri,
                     r->filename, r->args ? r->args : "<none>"));
     }

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message