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

Re: [RFC] Canonical Paths

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-08-29 01:52:45 CEST

On Thu, Aug 29, 2002 at 12:19:16AM +0100, Philip Martin wrote:
> > But what about the repository URL for a file whose name contains a
> > "/"? If my repository is rooted at http://www.example.com/repos/foo
> > and I import "bar:gaz/onk" (that is, the file "gaz/onk" in the
> > directory "bar") into it with a client using ':' for
> > SVN_PATH_SEPARATOR, what URL will the imported file get?
> I'm not a HTTP/WebDAV expert, but it would not surprise me if
> filenames containing '/' characters are not valid. Even if there is a
> valid encoding don't expect the working copy to work on Unix.

As a URL, it would be something like:


i.e use URL escaping to avoid the '/' interpretation.

However, within our libraries... what to do? Beats the crap outta me. We
would need to use/invent an escaping mechanism. Personally, I would simply
say that the character is not allowed [on entry to our libs], except as a
path separator.


Greg Stein, http://www.lyra.org/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 29 01:48:03 2002

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.