]> granicus.if.org Git - apache/commit
Rename LenientWhitespace to UnsafeWhitespace and change StrictWhitespace
authorWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 25 Aug 2016 01:46:20 +0000 (01:46 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 25 Aug 2016 01:46:20 +0000 (01:46 +0000)
commit6cae6f2487a1cf2f41c712a126e1b4bb370cbd57
tree490f48af56843bb6ee5541ec556eed4c1191185d
parenta6250dc62506ec4265dbd8ba8d285f627a7daaa4
Rename LenientWhitespace to UnsafeWhitespace and change StrictWhitespace
to the default behavior, after discussion with fielding et al about the
purpose of section 3.5. Update the documentation to clarify this.

This patch removes whitespace considerations from the Strict|Unsafe toggle
and consolidates them all in the StrictWhitespace|UnsafeWhitespace toggle.

Added a bunch of logic comments to read_request_line parsing.

Dropped the badwhitespace list for an all-or-nothing toggle in rrl.

Leading space before the method is optimized to be evaluated only once.

Toggled the request from HTTP/0.9 to HTTP/1.0 for more BAD_REQUEST cases.

Moved s/[\n\v\f\r]/ / cleanup logic earlier in the cycle, to operate on
each individual line read, and catch bad whitespace errors earlier.
This changes the obs-fold to more efficiently condense whitespace and
forces concatinatination with a single SP, always. Overrides are not
necessary since obs-fold is clearly deprecated.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1757589 13f79535-47bb-0310-9956-ffa450edef68
docs/manual/mod/core.xml
include/http_core.h
server/core.c
server/protocol.c