From: Amos Jeffries Date: Fri, 6 May 2016 06:25:07 +0000 (+1200) Subject: Bug 4498: URL-unescape the login-info after extraction from URI X-Git-Tag: SQUID_3_5_18~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47078eb7f7d81449960f67065e14c263f00988b5;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 255093bdcd..ebdecbf6bd 100644 --- a/src/url.cc +++ b/src/url.cc @@ -290,6 +290,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) */