1
0
mirror of https://github.com/apache/httpd.git synced 2025-11-11 02:42:23 +03:00
Commit Graph

6539 Commits

Author SHA1 Message Date
Lucien Gentis
be73b4aec6 XML updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1758114 13f79535-47bb-0310-9956-ffa450edef68
2016-08-28 13:57:59 +00:00
William A. Rowe Jr
38100ecd4f Resync
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1757923 13f79535-47bb-0310-9956-ffa450edef68
2016-08-26 21:05:35 +00:00
William A. Rowe Jr
7f78dd0fa0 First survey results, all intrinsicly bad input will be logged at the debug
level, no louder. This patch intentionally dodges the Limit* constrained tests
since administrators may shoot themselves in the foot, or be confronted with
impossibly long cookie values, etc.

Adjust the documentation to match.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1757920 13f79535-47bb-0310-9956-ffa450edef68
2016-08-26 20:35:42 +00:00
Eric Covener
9b40242966 add [flags] to syntax
per http://httpd.apache.org/docs/2.4/mod/mod_rewrite.html#comment_5728

split list of flags out of the massive CondPattern list.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1757838 13f79535-47bb-0310-9956-ffa450edef68
2016-08-26 12:59:20 +00:00
William A. Rowe Jr
76ff7ad7c6 Sync
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1757712 13f79535-47bb-0310-9956-ffa450edef68
2016-08-25 15:41:01 +00:00
William A. Rowe Jr
1edea58c72 Correct RFC reference text (link was right)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1757711 13f79535-47bb-0310-9956-ffa450edef68
2016-08-25 15:40:14 +00:00
Christophe Jaillet
6d06f54678 xforms fr
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1757599 13f79535-47bb-0310-9956-ffa450edef68
2016-08-25 04:54:49 +00:00
Christophe Jaillet
8888bfc270 Fix some French translations in order explanations to match examples.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1757598 13f79535-47bb-0310-9956-ffa450edef68
2016-08-25 04:52:04 +00:00
William A. Rowe Jr
22a08f2aff Rebuild all
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1757590 13f79535-47bb-0310-9956-ffa450edef68
2016-08-25 01:48:36 +00:00
William A. Rowe Jr
6cae6f2487 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
2016-08-25 01:46:20 +00:00
Eric Covener
bb179c503d xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1757290 13f79535-47bb-0310-9956-ffa450edef68
2016-08-23 00:15:55 +00:00
Eric Covener
8d528f9af0 more PR60024 feedback re: consistent terminology.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1757289 13f79535-47bb-0310-9956-ffa450edef68
2016-08-23 00:15:44 +00:00
Lucien Gentis
9eb9180e9c Rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1757050 13f79535-47bb-0310-9956-ffa450edef68
2016-08-21 11:43:53 +00:00
Lucien Gentis
df61fdc363 XML updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1757049 13f79535-47bb-0310-9956-ffa450edef68
2016-08-21 11:42:51 +00:00
Eric Covener
b6d53f4800 xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1757028 13f79535-47bb-0310-9956-ffa450edef68
2016-08-20 19:25:05 +00:00
Eric Covener
6386d1d407 more fixes for per-dir explanation
change style of per-dir note for readability



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1757027 13f79535-47bb-0310-9956-ffa450edef68
2016-08-20 19:24:56 +00:00
Eric Covener
c892110050 doc is already a wall of text w/o regex hints.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1757026 13f79535-47bb-0310-9956-ffa450edef68
2016-08-20 19:09:27 +00:00
Eric Covener
2824969b40 xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1757025 13f79535-47bb-0310-9956-ffa450edef68
2016-08-20 19:07:07 +00:00
Eric Covener
783b1eb4c0 bld break
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1757024 13f79535-47bb-0310-9956-ffa450edef68
2016-08-20 19:06:25 +00:00
Eric Covener
30e8530301 more per-dir cleanup, remove redundant text.
PR60024



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1757023 13f79535-47bb-0310-9956-ffa450edef68
2016-08-20 19:04:40 +00:00
Eric Covener
42ef3c4669 take a pass through "per-dir" for PR60024
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1757020 13f79535-47bb-0310-9956-ffa450edef68
2016-08-20 18:39:33 +00:00
Eric Covener
888138cabf roll back last two commits per PR60024.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1757019 13f79535-47bb-0310-9956-ffa450edef68
2016-08-20 18:28:27 +00:00
Christophe Jaillet
dddb990d81 xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756992 13f79535-47bb-0310-9956-ffa450edef68
2016-08-20 13:09:49 +00:00
Christophe Jaillet
ed06011da3 Fix a typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756991 13f79535-47bb-0310-9956-ffa450edef68
2016-08-20 13:09:12 +00:00
William A. Rowe Jr
7f477e487b Regen docs, no complaints yet
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756979 13f79535-47bb-0310-9956-ffa450edef68
2016-08-20 01:17:51 +00:00
William A. Rowe Jr
b9a6a0ee7b Introduce StrictURI|UnsafeURI for RFC3986 enforcement
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756959 13f79535-47bb-0310-9956-ffa450edef68
2016-08-19 19:48:58 +00:00
William A. Rowe Jr
953beadd81 Resync docs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756863 13f79535-47bb-0310-9956-ffa450edef68
2016-08-19 02:33:43 +00:00
William A. Rowe Jr
31889a1c92 Fix as suggested by jailletc36, corresponding to all other comments on the topic
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756862 13f79535-47bb-0310-9956-ffa450edef68
2016-08-19 02:32:25 +00:00
William A. Rowe Jr
194e79fd41 Docs regen
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756730 13f79535-47bb-0310-9956-ffa450edef68
2016-08-18 07:15:24 +00:00
William A. Rowe Jr
8d77efe21e Perform correct, strict parsing of the request line, handling the
http protocol tag, url and method appropriately, and attempting 
to extract values even in the presence of unusual whitespace in
keeping with section 3.5, prior to responding with whatever
error reply is needed. Conforms to RFC7230 in all respects,
the section 3.5 optional behavior can be disabled by the user
with a new HttpProtocolOptions StrictWhitespace flag. In all
cases, the_request is regenerated from the parsed components
with exactly two space characters.

Shift sf's 'strict' method check from the Strict behavior because
it violates forward proxy logic, adding a new RegisteredMethods
flag, as it will certainly be useful to some.




git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756729 13f79535-47bb-0310-9956-ffa450edef68
2016-08-18 07:15:06 +00:00
Christophe Jaillet
9c1288c696 xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756707 13f79535-47bb-0310-9956-ffa450edef68
2016-08-18 04:49:22 +00:00
Christophe Jaillet
c081acfeb5 Improve highlight and formatting.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756706 13f79535-47bb-0310-9956-ffa450edef68
2016-08-18 04:48:02 +00:00
William A. Rowe Jr
b0784b0f7b Renaming this directive to HttpProtocolOptions after discussion on dev@
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756649 13f79535-47bb-0310-9956-ffa450edef68
2016-08-17 16:24:23 +00:00
Rich Bowen
56edccfa4a rebuild
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756568 13f79535-47bb-0310-9956-ffa450edef68
2016-08-16 23:43:46 +00:00
Rich Bowen
d6059add64 Grammar tweaks, as per BZ59999
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756567 13f79535-47bb-0310-9956-ffa450edef68
2016-08-16 23:41:54 +00:00
William A. Rowe Jr
cf30866d63 Regen docs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756541 13f79535-47bb-0310-9956-ffa450edef68
2016-08-16 18:11:47 +00:00
William A. Rowe Jr
fc367d65ee Rename the previously undocumented HTTPProtocol directive
to EnforceHTTPProtocol, and invert the default behavior
to strictly observe RFC 7230 unless otherwise configured.
And Document This.

The relaxation option is renamed 'Unsafe'. 'Strict' is no
longer case sensitive. 'min=0.9|1.0' is now the verbose
'Allow0.9' or 'Require1.0' case-insenstive grammer. The
exclusivity tests have been modified to detect conflicts.

The 'strict,log' option failed to enforce strict conformance,
and has been removed. Unsafe, informational logging is possible
in any loadable module, after the request data is unsafely
accepted.

This triggers a group of failures in t/apache/headers.t as
expected since those patterns violated RFC 7230 section 3.2.4.




git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756540 13f79535-47bb-0310-9956-ffa450edef68
2016-08-16 18:11:14 +00:00
Lucien Gentis
74ed9d7f53 Rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756274 13f79535-47bb-0310-9956-ffa450edef68
2016-08-13 15:23:08 +00:00
Lucien Gentis
0118e81cce XML updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756273 13f79535-47bb-0310-9956-ffa450edef68
2016-08-13 15:22:09 +00:00
Rich Bowen
89ae5122c9 rebuild various things
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1755974 13f79535-47bb-0310-9956-ffa450edef68
2016-08-11 13:00:20 +00:00
Rich Bowen
0d8e8af9c4 A little odd having that warning buried under the machine-readable
section.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1755973 13f79535-47bb-0310-9956-ffa450edef68
2016-08-11 12:45:18 +00:00
Rich Bowen
5a0b71e7a9 Clarify phrasing, as per bz53152
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1755361 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 16:19:01 +00:00
Rich Bowen
7151cf58ff Various typos, broken links, and obsolete modules.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1755355 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 15:43:49 +00:00
Rich Bowen
d9424b9898 rebuild
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1755345 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 15:19:04 +00:00
Rich Bowen
07d4aee19d remove references to MPMs that no longer exist
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1755344 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 15:16:33 +00:00
Rich Bowen
96724ca496 rebuild fixed links
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1755342 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 14:53:45 +00:00
Rich Bowen
46bfe03804 Correct name of authnz_ldap module in French translation.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1755340 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 14:53:11 +00:00
Rich Bowen
33ad2ba397 rebuild
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1755337 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 14:47:33 +00:00
Rich Bowen
54b9e0565f fix link to mod_setenvif
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1755335 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 14:44:31 +00:00
Jim Jagielski
005700e99e Update
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1755326 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 13:56:07 +00:00