https://issues.apache.org/bugzilla/show_bug.cgi?id=45022
Summary: Processing of escaped glob patterns in "Include"
directive
Product: Apache httpd-2
Version: 2.0.63
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
In server/config.c ap_process_resource_config(), the Include path is split
apart.
Globs are allowed only in the non-directory portion of the path. So with a
line like this:
Include /usr/local/apache/conf/domains/\*.somedomain.com/*.enabled
The *.enabled glob is handled correctly, but the escaped \*.somedomain.com
isn't.
apr_fnmatch_test() correctly determines that it's not a wildcard because of the
escape character.
ap_is_directory() fails because the backslash isn't removed before the stat().
The escape characters need to be removed from the path between those two tests.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]