httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 54308] New: AliasMatch implicitly folds/matches any number of leading slashes
Date Sat, 15 Dec 2012 17:37:59 GMT

            Bug ID: 54308
           Summary: AliasMatch implicitly folds/matches any number of
                    leading slashes
           Product: Apache httpd-2
           Version: 2.4-HEAD
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_alias
    Classification: Unclassified


For some background info, please have a look at bug #54307.

In short:
Alias/AliasMatch behaves similarly to Location vs. LocationMatch, in the sense
that the non-Match-version will fold any number of consecutive slashes (/) to
one slash, while the Match-version will not.

In other words:
AliasMatch "^/foo/bar$" /some/file
will apply to URIs:
but _not_ to:

Now (and this I consider a functional bug) it seems that there is however one
exception (and AFAICS, this is also different from Location vs. LocationMatch):
AliasMatch _does_ fold any leading consecutive slashes into one, so the above
example _will_ e.g. apply to:

In case this is not accepted as a functional bug, this behaviour should be
documented along with what I've already suggested in bug #54307.


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