]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix incorrect authentication headers on cache digest requests
authorAymeric Vincent <aymericvincent@free.fr>
Mon, 26 Oct 2015 02:53:30 +0000 (19:53 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 26 Oct 2015 02:53:30 +0000 (19:53 -0700)
commit98ace3e4e2a5db23a59d356b966b9305f472a595
treeea2c6698b0b1de32375c73211987ff8f10cb7afd
parent4fda00759ed261c7733988f39c714daa4006d346
Fix incorrect authentication headers on cache digest requests

  login=NEGOTIATE can have an additional parameter specified,
   like login=NEGOTIATE:xxx

One test added in rev.12714 does not take this case into account and it
will send a garbage "login:password" (== "NEGOTIATE:xxx") to its peer
when requesting a digest.

This is a workaround patch to remove the broken Authentication headers
entirely. Support for Negotiate to the peer on these digest requests is
still needed.
src/peer_digest.cc