[PATCH] Fix for issue 2753 "SVNListParentPath feature doesn't work when svn authz is used."
From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: Thu, 08 Apr 2010 18:32:20 +0530
Attached patch fixes issue 2753.
Quick description of 2753.
With the above configuration 'wget http://localhost/svn' gets 403 Access
Thrown from the following stack trace.
mod_dav_svn/repos.c:dav_svn_split_uri() <-- This function throws this
The suggested work around for this issue is to define a <Location> with
Why this work around works?
Whatever that is defined in the <Location /svn> or <Location /svn/> is
So uri becomes '/svn' and root_path becomes '/svn' or '/svn/' based on
In the work around case
relative = ap_stripprefix("/svn", "/svn/"); //relative becomes '/svn'
While 'relative' becomes empty string for ap_stripprefix("/svn", "/svn")
About the fix:
I tested the following cases with this patch:
Ran through the testsuite, It did not break any new tests.
Relax requests aimed at the repo Parent path from authz control.
If there are no objections will commit this in next couple of days.
This is an archived mail posted to the Subversion Dev mailing list.