]> git.ipfire.org Git - thirdparty/squid.git/commit
Regression fix: Handle dstdomain duplicates and overlapping names better
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 22 Sep 2012 06:39:55 +0000 (18:39 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 22 Sep 2012 06:39:55 +0000 (18:39 +1200)
commit3a835d3f583ae8bf35368959b722dafdc01fe10d
treebcf22cb72131cadf5ec32b1a6f511475fad267f5
parent9e9ef416ed6887ffca4ac0622d00e14df3cf18e6
Regression fix: Handle dstdomain duplicates and overlapping names better

Since 3.2 changes to dstdomain overlap detection teh case of duplicate
wildcards has become a fatal error needlessly.

This silently ignores all exact duplicates, even if they are wildcards.

Also, adjust the message display to always display the longer of the
domains first. Since we are dealing with sub-domains it is the most
reliable indicator of which should be removed to safely fix the detected
issue.
src/acl/DomainData.cc