> I did not mention it but I tried, with the following commands, on the
> subversion server pc itself, which has the IPv4 address 10.1.1.222:
> 'svn co svn://10.1.1.222/test test.1' works.
> 'svn co svn://127.0.0.1/test test.2' also works.
> This shows that svnserve is not restricted to a specific address.
>
> 'svn co svn://::1/test test.3' gives me
> "svn: Illegal svn repository URL 'svn://::1/test'".
>
> 'svn co svn://[::1]/test test.4' gives me
> "svn: Illegal svn repository URL 'svn://[::1]/test'".
This is a problem in the svn url parsing code in
libsvn_ra_svn/client.c: parse_url
It gets mad because it already saw a : in the url, and doesn't want to
see another one.
Is there some good reason we don't use apr_uri_parse from apr-util here?
I see brane previously objected to it's handling of file:// urls, which
doesn't apply in libsvn_ra_svn.
I also know it parses ipv6 addresses because i see
http://lwn.net/Articles/102318
If we could use that instead of the parse_url, it would probably make
life easier here (we should still be able to parse out the tunnel spec
properly).
--Dan
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 2 06:11:07 2005