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 2012/12/15 18:37:59 UTC
[Bug 54308] New: AliasMatch implicitly folds/matches any number of
leading slashes
https://issues.apache.org/bugzilla/show_bug.cgi?id=54308
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
Assignee: bugs@httpd.apache.org
Reporter: calestyo@scientia.net
Classification: Unclassified
Hi.
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:
/foo/bar
but _not_ to:
/foo///bar
////foo////bar
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:
////foo/bar
//foo/bar
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.
Cheers,
Chris.
--
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
[Bug 54308] AliasMatch implicitly folds/matches any number of
leading slashes
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54308
Eric Covener <co...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|DUPLICATE |---
--
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
[Bug 54308] AliasMatch implicitly folds/matches any number of
leading slashes
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54308
Eric Covener <co...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Component|mod_alias |Documentation
Resolution|--- |FIXED
Assignee|bugs@httpd.apache.org |docs@httpd.apache.org
Severity|major |normal
--- Comment #2 from Eric Covener <co...@gmail.com> ---
+ <p>Multiple leading slashes in the requested URL are discarded
+ by the server before directives from this module compares
+ against the requested URL-path.
+ </p>
+
--
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
[Bug 54308] AliasMatch implicitly folds/matches any number of
leading slashes
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54308
Eric Covener <co...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #1 from Eric Covener <co...@gmail.com> ---
*** This bug has been marked as a duplicate of bug 54307 ***
--
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