[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Re: [BUG] svn ls file:///

From: Uwe Zeisberger <zeisberg_at_informatik.uni-freiburg.de>
Date: 2004-11-20 09:59:46 CET

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
three.

Regards
Uwe

-- 
Uwe Zeisberger
http://www.google.com/search?q=30+hours+and+4+days+in+seconds

Received on Sat Nov 20 10:01:16 2004

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.