Re: 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 15:45:52 +0200
Guten Tag Thorsten Schöning,
> And I think that's the problem: The matched location is forwarded
I'm not so sure about that anymore, because it seems the "Location"
> conf->base_path = svn_urlpath__canonicalize(d, p);
https://github.com/apache/subversion/blob/1.9.3/subversion/mod_authz_svn/mod_authz_svn.c#L121
> uri = svn_fspath__canonicalize(uri, pool);
https://github.com/apache/subversion/blob/1.9.3/subversion/libsvn_subr/dirent_uri.c#L2622
This seems the request might contain the space instead of %20, but I
But doesn't change that much overall, I'm still unabale to tell
> But I couldn't find anything simple like using spaces in URLs to
I'm more convinced now that space is the correct thing to configure
https://stackoverflow.com/questions/410811/mod-rewrite-with-spaces-in-the-urls
> Any workarounds you can think of with being able to keep the space in
I tried simply using a rewrite rule to internally change " " to "_",
> Could not parse 'src-path' URL. [500, #190001]
So internally replacing parts of the URL is not an option. Sending a
> RewriteRule "^(svn/Bin/LSG) (BE-BB/.+)$" "$1_$2" [L]
It seems the only option currently is really to avoid the spaces in
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 15:46:19 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.