Re: [Patch] Expression support for SVNPath and SVNParentPath
From: Graham Leggett <minfrin_at_sharp.fm>
Date: Sun, 1 Mar 2015 16:23:29 +0200
On 27 Feb 2015, at 2:14 AM, Graham Leggett <minfrin_at_sharp.fm> wrote:
> By way of background, I added the regex named grouping support to httpd that allowed you to do stuff like <LocationMatch ^/svn/(?<CUSTOMERNAME>[^/]+)/>, and I’ve been adding expression support to a growing list of httpd directives, starting with all the require directives, and then following up with Alias and Redirect.
Here is an updated patch below that fixes the return issue (apr_pstrcat does nothing) and some formatting.
I have found a new issue - mod_dav_svn (and mod_dav itself) don’t work properly inside a <LocationMatch>, This is caused as the raw regex is passed as the path, which then triggers an assertion failure inside libsvn. This needs an httpd fix, will look at that in the mean time.
Regards,
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.