~squid/squid/3.2

« back to all changes in this revision

Viewing changes to src/mime_header.cc

  • Committer: Amos Jeffries
  • Date: 2016-05-02 03:44:32 UTC
  • Revision ID: squid3@treenet.co.nz-20160502034432-vz0ztgpclokcac02
Require exact match in Host header name lookup

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
        if (strcmp(p, "\r\n\r\n") == 0 || strcmp(p, "\n\n") == 0)
71
71
            return NULL;
72
72
 
73
 
        while (xisspace(*p))
74
 
            ++p;
75
 
 
76
73
        if (strncasecmp(p, name, namelen))
77
74
            continue;
78
75