Canonicalization of dubious URLs
From: Philip Martin <philip_at_codematters.co.uk>
Date: Sat, 29 Jul 2017 19:54:37 +0100
Consider
svnadmin create repo
1.8 gives a warning on checkout:
svn: warning: W170000: Illegal repository URL 'foo://bar::'
but 1.9 gives a SEGV:
svn: ../src/subversion/libsvn_subr/dirent_uri.c:1529: uri_skip_ancestor: Assertion `svn_uri_is_canonical(child_uri, NULL)' failed.
svn_uri_is_canonical() is complaining about the final "::" but this
assert(svn_uri_is_canonical(svn_uri_canonicalize(str, pool)));
or perhaps that only applies when
if (svn_path_is_url(str))
Is that right?
These strings returned by svn_uri_canonicalize() fail
foo://bar::
How should strings like this be handled?
-- PhilipReceived on 2017-07-29 20:54:43 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.