------------------------------------------------------------ revno: 14041 revision-id: squid3@treenet.co.nz-20160506062507-dhpcyg37ltaqodnd parent: chtsanti@users.sourceforge.net-20160504081312-046zpgszh1yra6y4 fixes bug: http://bugs.squid-cache.org/show_bug.cgi?id=4498 committer: Amos Jeffries branch nick: 3.5 timestamp: Fri 2016-05-06 18:25:07 +1200 message: Bug 4498: URL-unescape the login-info after extraction from URI ------------------------------------------------------------ # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: squid3@treenet.co.nz-20160506062507-dhpcyg37ltaqodnd # target_branch: http://bzr.squid-cache.org/bzr/squid3/3.5 # testament_sha1: 415aaeb8e16ab2ec63c69039a135631f8725a280 # timestamp: 2016-05-06 06:31:10 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/3.5 # base_revision_id: chtsanti@users.sourceforge.net-20160504081312-\ # 046zpgszh1yra6y4 # # Begin patch === modified file 'src/url.cc' --- src/url.cc 2016-01-01 00:14:27 +0000 +++ src/url.cc 2016-05-06 06:25:07 +0000 @@ -290,6 +290,8 @@ *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) */