Return-Path: X-Original-To: apmail-httpd-bugs-archive@www.apache.org Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 562BAE14D for ; Sat, 15 Dec 2012 17:38:27 +0000 (UTC) Received: (qmail 39490 invoked by uid 500); 15 Dec 2012 17:38:27 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 39151 invoked by uid 500); 15 Dec 2012 17:38:24 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 39115 invoked by uid 99); 15 Dec 2012 17:38:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Dec 2012 17:38:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.115] (HELO eir.zones.apache.org) (140.211.11.115) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Dec 2012 17:38:20 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id B4EC5484A; Sat, 15 Dec 2012 17:37:59 +0000 (UTC) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: [Bug 54308] New: AliasMatch implicitly folds/matches any number of leading slashes Date: Sat, 15 Dec 2012 17:37:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: mod_alias X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: calestyo@scientia.net X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bugs@httpd.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter classification Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org 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