]> granicus.if.org Git - apache/commitdiff
PR#38448: don't URLencode tilde in path component
authorNick Kew <niq@apache.org>
Tue, 8 Aug 2006 23:27:25 +0000 (23:27 +0000)
committerNick Kew <niq@apache.org>
Tue, 8 Aug 2006 23:27:25 +0000 (23:27 +0000)
On reflection, this patch makes sense (since the URL spec got updated), and it's trivial.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@429879 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/proxy_util.c

index 957311dff9a37d37734941a33c40d92ef44c597c..954452b261c0d0f7c4c5e3b21d1dc48ea1cd5e67 100644 (file)
@@ -162,7 +162,7 @@ PROXY_DECLARE(char *)ap_proxy_canonenc(apr_pool_t *p, const char *x, int len,
  * it only permits ; / ? : @ = & as reserved chars.)
  */
     if (t == enc_path) {
-        allowed = "$-_.+!*'(),;:@&=";
+        allowed = "~$-_.+!*'(),;:@&=";
     }
     else if (t == enc_search) {
         allowed = "$-_.!*'(),;:@&=";