httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 51435] New: Regex match broken in Filter module
Date Sat, 25 Jun 2011 11:23:21 GMT

             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
    Classification: Unclassified

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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message