------------------------------------------------------------ revno: 11842 revision-id: squid3@treenet.co.nz-20160502034432-vz0ztgpclokcac02 parent: squid3@treenet.co.nz-20160420111731-wv2byqylavvdmsp9 committer: Amos Jeffries branch nick: 3.2 timestamp: Mon 2016-05-02 15:44:32 +1200 message: Require exact match in Host header name lookup ------------------------------------------------------------ # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: squid3@treenet.co.nz-20160502034432-vz0ztgpclokcac02 # target_branch: http://bzr.squid-cache.org/bzr/squid3/branches\ # /SQUID_3_2 # testament_sha1: edd3c81a64d9c10892d19461b0fffd2f100b8af0 # timestamp: 2016-05-02 03:50:30 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/3.2 # base_revision_id: squid3@treenet.co.nz-20160420111731-\ # wv2byqylavvdmsp9 # # Begin patch === modified file 'src/mime_header.cc' --- src/mime_header.cc 2012-07-28 05:38:50 +0000 +++ src/mime_header.cc 2016-05-02 03:44:32 +0000 @@ -70,9 +70,6 @@ if (strcmp(p, "\r\n\r\n") == 0 || strcmp(p, "\n\n") == 0) return NULL; - while (xisspace(*p)) - ++p; - if (strncasecmp(p, name, namelen)) continue;