httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 35077] mod_dav passes incorrect paths with LocationMatch
Date Tue, 28 Dec 2010 17:18:27 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=35077

--- Comment #9 from Stefan Fritsch <sf@sfritsch.de> 2010-12-28 12:18:22 EST ---
(In reply to comment #8)
> The first one is responsible to match the location, which was requested from
> the server with the given configuration block. And the result of it is binary -
> either 'yes' or 'no'. and if it is 'yes' - we have very exact path(local part
> of the URI) that did match it! If it matched something, that wasn't aimed to -
> well, blame the writer of the regex.

Well, given a few posibilities, like

^/svn/(?:projecta|projectb)/
^/svn/(?=projecta|projectb)/
^/svn/(?=projecta/|projectb/)

I doubt that many people know pcre well enough to know that they need the third
option. And there are other containers which would confuse mod_dav even more,
like <FilesMatch> and <If> (in 2.3/2.4).

Another problem is that result of the regex match is not available to mod_dav.
Mod_dav would probably have to re-do the regexp match to find out which part
matched.

> There is absolutely nothing that makes this situation specific to the
> mod_dav_svn.

That is true.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


Mime
View raw message