https://issues.apache.org/bugzilla/show_bug.cgi?id=51435
Bug #: 51435
Summary: Regex match broken in Filter module
Product: Apache httpd-2
Version: 2.2-HEAD
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: mod_filter
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/modules/filters/mod_filter.c?view=markup#l577
rxend = ap_strchr_c(match, '/');
should be:
rxend = ap_strrchr_c(match, '/');
Because a regex of /application//xml/ will match anything beginning with
"application", ie, application/zip as it is picking up the first slash as the
regex end.
--
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]