problem with AUTHZ_SVN_RECURSIVE in mod_authz_svn.c
From: Bernd Rinn <bernd_at_sdf.lonestar.org>
Date: 2005-07-22 21:57:50 CEST
I think that I have found a bug in mod_authz_svn.c of svn 1.2.1 with
Consider a repository 'testcase' that has a directory structure
/dir
and an AuthzSVNAccessFile containing the entries:
[/]
[testcase:/dir2/secret]
It is understood that this won't work:
$ svn cp -m "this should fail" http://svn/repos/testcase/dir2
However, this should work in my opinion but as a matter of fact it fails:
$ svn cp -m "this should work but it fails"
Obviously mod_authz_svn thinks that the rule for testcase:/dir2/secret
if (strncmp(section_name, b->qualified_repos_path,
These checks determine whether a section matches the repos_path or not
I have prepared and attached a patch that solves the problem. Please
Regards,
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.