]> git.ipfire.org Git - thirdparty/squid.git/commit
Detect HTTP header ACL issues
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 30 Dec 2016 06:27:19 +0000 (19:27 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 30 Dec 2016 06:27:19 +0000 (19:27 +1300)
commita0b240cd9f515029e1883542c1728fae7eb45a07
tree085e52a55fbb62b0f54f29fb3a3aaa7b7e233e95
parent58e1b950c27bfb0245134f5108ea507e9e90a40a
Detect HTTP header ACL issues

rep_header and req_header ACL types cannot match multiple different
headers in one test (unlike Squid-2 appears to have done). Produce
an ERROR and ignore the extra line(s) instead of silently changing
all the previous regex to match the second header name.

Also detect and ERROR when header name is missing entirely. Ignore
these lines instead of asserting.
src/acl/HttpHeaderData.cc