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 2015/11/11 17:49:59 UTC

[Bug 58602] New: Priority issue on DirectoryMatch directive

https://bz.apache.org/bugzilla/show_bug.cgi?id=58602

            Bug ID: 58602
           Summary: Priority issue on DirectoryMatch directive
           Product: Apache httpd-2
           Version: 2.4.17
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
          Assignee: bugs@httpd.apache.org
          Reporter: S-sword@s-sword.net

In Apache 2.4.17, the priorities of DirectoryMatch directives are determined by
the number of slashes (/) in the argument (core.c: dirsection function), but in
the case of arguments like ^/[^/]+/a, the number of slashes are over counted
and the case have larger priority than the case of same directory depth like
^/b/a. 
I think it is not appropriate to determine the priorities of DirectoryMatch
directives (or should be determined by simply its order).

-- 
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 58602] Priority issue on DirectoryMatch directive

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58602

--- Comment #1 from Eric Covener <co...@gmail.com> ---
analysis looks right to me, and impl on the surface seems to conflict with how
sections.html describes the merge.

-- 
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