From 047253e8a8922465ce239075fa5ab99999478d2a Mon Sep 17 00:00:00 2001 From: Nick Kew Date: Tue, 8 Aug 2006 23:27:25 +0000 Subject: [PATCH] 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 --- modules/proxy/proxy_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = "$-_.!*'(),;:@&="; -- 2.40.0