From: Amos Jeffries Date: Mon, 2 May 2016 15:18:33 +0000 (+1200) Subject: Bug 4498: URL-unescape the login-info after extraction from URI X-Git-Tag: SQUID_4_0_10~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcddfefbb4d2e315c42b71ed905e16cfcdfc5502;p=thirdparty%2Fsquid.git Bug 4498: URL-unescape the login-info after extraction from URI --- diff --git a/src/url.cc b/src/url.cc index b65a607e9d..55f20d88f8 100644 --- a/src/url.cc +++ b/src/url.cc @@ -287,6 +287,8 @@ urlParse(const HttpRequestMethod& method, char *url, HttpRequest *request) *t = 0; strncpy((char *) host, t + 1, sizeof(host)-1); host[sizeof(host)-1] = '\0'; + // Bug 4498: URL-unescape the login info after extraction + rfc1738_unescape(login); } /* Is there any host information? (we should eventually parse it above) */