Re: [PATCH] Re: [BUG] svn ls file:///
Erik Huelsmann wrote:
> > > Also, svn_path_canonicalize is buggy in that it strips the
> > > trailing slash in this case.
> > From RFC 1738 Section 3.1:
> > ... common syntax for the scheme-specific data:
> > //<user>:<password>@<host>:<port>/<url-path>
> > [...] "/<url-path>" may be excluded.
> > So "file://" and "file:///" are the same. Stripping a slash from
> > "file://" (as svn_path_canonicalize does) is however an error.
> Umm, yes, but just above that it says:
> "URL schemes that involve the direct use of an IP-based protocol"
> I don't think file:// is in that category.
For the sake of simplicity I'd suggest that anyhow it follows the common
syntax. Else you may have to distinct the scheme for canonicalization
as http URLS may have a total of two slashes and file URLS have at least
Received on Sat Nov 20 10:01:16 2004
This is an archived mail posted to the Subversion Dev