/[Apache-SVN]
ViewVC logotype

Revision 1826309


Jump to revision: Previous Next
Author: jorton
Date: Fri Mar 9 09:19:44 2018 UTC (6 years, 2 months ago)
Changed paths: 4
Log Message:
Merge r1667676, r1826207 from trunk:

* mod_access_compat, mod_authz_host: Handle '#' character.
For mod_access_compat, disable '#' in hostname completely.
For mod_authz_host, treat '#' as a comment and ignore everything after that.
This allows better handling of admin errors like
'Require host localhost# Add example.com later'.

* modules/aaa/mod_authz_host.c (host_check_authorization): Simplify
  comment stripping in "Require host"; log a warning if a comment is
  used in 'Require host', or an error if the expression is empty with
  the comment stripped. (Currently in 2.4, #comment part is parsed)

Submitted by: jkaluza, jorton
Reviewed by: jorton, jim, ylavic


Changed paths

Path Details
Directoryhttpd/httpd/branches/2.4.x/ modified , props changed
Directoryhttpd/httpd/branches/2.4.x/CHANGES modified , text changed
Directoryhttpd/httpd/branches/2.4.x/modules/aaa/mod_access_compat.c modified , text changed
Directoryhttpd/httpd/branches/2.4.x/modules/aaa/mod_authz_host.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26