Log Message: |
Fix a bug in svn_uri_is_canonical; it would begin path verification at
the beginning of the host name, and if the host name was "." would think
it found an invalid path segment.
* subversion/libsvn_subr/dirent_uri.c (svn_uri_is_canonical):
Set the segment pointer to the beginning of the schema data before
verifying same, otherwise it would point at the beginning of the
host name.
* subversion/tests/libsvn_subr/dirent_uri-test.c (uri_canonical):
Add a couple cases that tripped up the buggy svn_uri_is_canonical.
|