apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitri Tikhonov <dmi...@netilla.com>
Subject mod_proxy encodes tilde before issuing HTTP request.
Date Tue, 23 Dec 2003 19:55:47 GMT

ap_proxy_canonenc() encode tilde into hexadecimal format before issuing
HTTP request.  This breaks some things for me.  Why is it not allowed in
its original form?  I modified the source (2.0.46) of proxy_util.c, and it
works fine.

  - Dmitri.


--- proxy_util.c        2003/06/05 20:51:17     1.1.1.3
+++ proxy_util.c        2003/12/23 19:51:13     1.2
@@ -176,7 +176,7 @@
  * it only permits ; / ? : @ = & as reserved chars.)
  */
     if (t == enc_path)
-       allowed = "$-_.+!*'(),;:@&=";
+       allowed = "~$-_.+!*'(),;:@&=";
     else if (t == enc_search)
        allowed = "$-_.!*'(),;:@&=";
     else if (t == enc_user)


Mime
View raw message