You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2011/06/25 13:23:21 UTC
DO NOT REPLY [Bug 51435] New: Regex match broken in Filter module
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: bugs@httpd.apache.org
ReportedBy: adeel.e@gmail.com
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 51435] Regex match broken in Filter module
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51435
Adeel Ejaz <ad...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Platform|PC |Other
OS/Version|Windows XP |Linux
Severity|normal |major
--
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 51435] Regex match broken in Filter module
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51435
Igor Galić <i....@brainsware.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution| |DUPLICATE
--- Comment #2 from Igor Galić <i....@brainsware.org> 2011-06-25 18:29:22 UTC ---
*** This bug has been marked as a duplicate of bug 51434 ***
--
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 51435] Regex match broken in Filter module
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51435
Igor Galić <i....@brainsware.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #1 from Igor Galić <i....@brainsware.org> 2011-06-25 18:27:11 UTC ---
Shouldn't that regex be
/application\/xml/
?
--
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org