https://issues.apache.org/bugzilla/show_bug.cgi?id=35077

--- Comment #9 from Stefan Fritsch <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to