[jira] [Commented] (SVN-4790) Make mod_dav_svn and mod_authz_svn work with expressions and regex

"Daniel Sahlberg (Jira)" <[email protected]> Fri, 21 Feb 2025 20:16:00 +0000 (UTC)
Newsgroups gmane.comp.version-control.subversion.issues
Message-ID <[email protected]>
    [ https://issues.apache.org/jira/browse/SVN-4790?page=3Dcom.atlassian.j=
ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D179292=
43#comment-17929243 ]=20

Daniel Sahlberg commented on SVN-4790:
--------------------------------------

See PR: https://github.com/apache/subversion/pull/28

> Make mod_dav_svn and mod_authz_svn work with expressions and regex
> ------------------------------------------------------------------
>
>                 Key: SVN-4790
>                 URL: https://issues.apache.org/jira/browse/SVN-4790
>             Project: Subversion
>          Issue Type: New Feature
>          Components: mod_dav_svn
>    Affects Versions: all
>            Reporter: Branko =C4=8Cibej
>            Priority: Major
>
> Currently {{mod_dav_svn}} takes its the {{root_dir}} parameter from the a=
rgument of the {{<Location>}} block where it's configured. This does not wo=
rk if the argument is a regular expression, as in:
> {noformat}
> <Location ~ REGEX>
>   DAV svn
>   ...
> </Location>
> {noformat}
> or
> {noformat}
> <LocationMatch REGEX>
>   DAV svn
>   ...
> </LocationMatch>
> {noformat}
> In these cases, the {{root_dir}} parameter will be set to the actual regu=
lar expression, not the path matched in the request URL. Fixing this is rat=
her essential for supporting [expressions in {{mod_dav_svn}}|https://svn.ap=
ache.org/repos/asf/subversion/branches/mod-dav-svn-expressions/BRANCH-READM=
E].



--
This message was sent by Atlassian Jira
(v8.20.10#820010)