]> git.ipfire.org Git - thirdparty/squid.git/commit - src/http/one/RequestParser.cc
Add tolerance for whitespace within URI
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 6 Feb 2015 12:46:54 +0000 (04:46 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 6 Feb 2015 12:46:54 +0000 (04:46 -0800)
commit78a63ed196e51232026e3ded22de176ed85592a6
tree97293472e8a7af1da5ed4555118ce28650b2783e
parentbac851c077c020c7392f3aabc6746c1faf2672f1
Add tolerance for whitespace within URI

RFC 7231 advises that there are still clients failing to properly encode
characters within URI. Tolerant parsers should accept that, and later
'reject' with a redirection to a properly encoded form of the URL.
src/http/one/RequestParser.cc
src/http/one/RequestParser.h
src/tests/testHttp1Parser.cc