]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Correct the parser construction for several optimizations,
authorWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 29 Aug 2016 17:25:35 +0000 (17:25 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 29 Aug 2016 17:25:35 +0000 (17:25 +0000)
commitb06490c39c8ea0d4adef20704a8a3f3421a63759
tree6ba5a2857552d9b369665fbca1b5af2e1ad21dc8
parent098e08994b5305548aeb4f6d027016eab5c37e38
Correct the parser construction for several optimizations,
based on the fact that bad whitespace shall not be permitted
or corrected in any operating mode, while preserving the
ability to extract bad method/uri/proto for later reporting
and diagnostics.

This change causes badwhitespace in the request line or any
request field line to always fail, and not honor the setting
of the HttpProtocolOptions Unsafe option. Mult SP characters
or trailing SP characters in the request line are still
permitted in Unsafe mode.

Adjusted several error message emits to match these changes.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1758263 13f79535-47bb-0310-9956-ffa450edef68
server/protocol.c