]> git.ipfire.org Git - thirdparty/squid.git/commit
Support "file" syntax for 'squid_error' and 'has' ACL parameters (#874)
authorEduard Bagdasaryan <eduard.bagdasaryan@measurement-factory.com>
Wed, 4 Aug 2021 22:04:38 +0000 (22:04 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Thu, 12 Aug 2021 03:27:44 +0000 (03:27 +0000)
commit1dc0221b91c31169001a5c2c17e87fa1713de6ee
tree3d5853dc08439f43fc9349561a28e5b7e9d7779f
parent1dde46601ec02f0e9879d6d37199a1353a88c860
Support "file" syntax for 'squid_error' and 'has' ACL parameters (#874)

The 'squid_error' and 'has' are the only ACLs that do not support
loading their parameters from a file using the "path/filename" syntax.
We see no justification for this exception, and it stands in the way of
(unrelated) configuration improvements we are working on (that will,
among other things, prevent such accidents from happening again).

This change causes no upgrade problems because it does not change
handling of previously accepted configurations. It only expands the set
of acceptable configurations, better matching documentation and admin
expectations with regard to universal "path/filename" syntax support.
src/acl/HasComponentData.cc
src/acl/SquidErrorData.cc