]> git.ipfire.org Git - thirdparty/squid.git/commit - src/acl/FilledChecklist.cc
Fix %>ru for CONNECT requests (#299) M-staged-PR299
authorChristos Tsantilas <christos@chtsanti.net>
Thu, 4 Oct 2018 10:15:15 +0000 (10:15 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Sat, 6 Oct 2018 10:15:51 +0000 (10:15 +0000)
commit57a5679bae20e90ef73473e03327e37aa0263570
tree724c5fca17e68dc54aef8f07f2ac13e2ca69d911
parent279e60ef962bd339920252f8084fbe88a0aa8a68
Fix %>ru for CONNECT requests (#299)

Commit bec110e (a.k.a. v4 commit fbbd5cd5) broke CONNECT URI logging
because it incorrectly assumed that URI::absolute() supports all URIs.
As the result, Squid logged CONNECT URLs as "://host:port".

Also fixed a similar wrong assumption in ACLFilledChecklist::verifyAle()
which may affect URL-related ACL checks for CONNECT requests, albeit
only in already buggy cases where Squid warns about "ALE missing URL".

This is a Measurement Factory project
src/AccessLogEntry.cc
src/acl/FilledChecklist.cc