summaryrefslogtreecommitdiffstats
path: root/modules/proxy/proxy_util.c
diff options
context:
space:
mode:
authorNick Kew <niq@apache.org>2006-08-09 01:27:25 +0200
committerNick Kew <niq@apache.org>2006-08-09 01:27:25 +0200
commit047253e8a8922465ce239075fa5ab99999478d2a (patch)
tree374f5dc8c3a737dcd1f2d3886846e47a092fde8e /modules/proxy/proxy_util.c
parentFix style (indentation at least) to apache style rules before reviewing top o... (diff)
downloadapache2-047253e8a8922465ce239075fa5ab99999478d2a.tar.xz
apache2-047253e8a8922465ce239075fa5ab99999478d2a.zip
PR#38448: don't URLencode tilde in path component
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
Diffstat (limited to '')
-rw-r--r--modules/proxy/proxy_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c
index 957311dff9..954452b261 100644
--- a/modules/proxy/proxy_util.c
+++ b/modules/proxy/proxy_util.c
@@ -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 = "$-_.!*'(),;:@&=";