mod_dav_svn of SVN 1.9.3 doesn't seem to calc repo names from URLs with spaces properly.
From: Thorsten Schöning <tschoening_at_am-soft.de>
Date: Fri, 14 Jun 2019 12:12:11 +0200
Hi all,
I'm hosting some SVN-repos using mod_dav_svn and am running into
My approach is simply to have a directory structure of SVN-repos
Have a look at the following config:
> <Location "/svn/Bin/LSG BE-BB">
Requests to that location are properly forwarded to mod_dav_svn, but
> (2)No such file or directory: [...] Failed to load the mod_authz_svn config: Can't open file '/home/ams_svn_repos/Bin/LSG BE-BB/svn/conf/authz': No such file or directory
When I change the location to use an underscore and request that,
> <Location "/svn/Bin/LSG_BE-BB">
"Access denied" is the correct thing to do in this case, the important
So the problem is obviously with the space, but when I change the
> <Location "/svn/Bin/LSG%20BE-BB">
If I provide other locations, those get matched instead, like
And I think that's the problem: The matched location is forwarded
> /* The URL space defined by the SVN provider is always a virtual
https://github.com/apache/subversion/blob/trunk/subversion/mod_dav_svn/repos.c#L1326
In the above code, "uri" and "root_path" would need to have the same
Similar problems with difference in "Location[Match]" vs. URLs of the
https://bz.apache.org/bugzilla/show_bug.cgi?id=35077
But I couldn't find anything simple like using spaces in URLs to
So, does that make sense to you? Has that problem already been
Any workarounds you can think of with being able to keep the space in
Thanks!
Mit freundlichen Grüßen,
Thorsten Schöning
-- Thorsten Schöning E-Mail: Thorsten.Schoening_at_AM-SoFT.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...........05151- 9468- 55 Fax...............05151- 9468- 88 Mobil..............0178-8 9468- 04 AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln AG Hannover HRB 207 694 - Geschäftsführer: Andreas MuchowReceived on 2019-06-14 12:12:22 CEST |
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.