]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix: Unsupported method in request may show raw binary data in log.
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 6 Aug 2008 13:27:10 +0000 (01:27 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 6 Aug 2008 13:27:10 +0000 (01:27 +1200)
commit3479c0a162e394114165a137830caf2a212b1eba
tree30890042612e16b85871601859a357c892e8e791
parent71b73ab57e724cabb56f653c7a746d397d1fe978
Fix: Unsupported method in request may show raw binary data in log.

hp->buf which should be a plain text HTTP request is occasionally full of
binary garbage.

 * replace any non-printables with underscores.

 * crop the output at 100 chars, we should not need a whole binary
   streaming video to identify the issue.

 * reference extension_methods for admin if its a genuine request.
src/client_side.cc