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

Re: svn ls shows escaped paths

From: <cmpilato_at_collab.net>
Date: 2003-06-02 15:30:29 CEST

"Sander Striker" <striker@apache.org> writes:

> > From: cmpilato@collab.net [mailto:cmpilato@collab.net]
> > Sent: Monday, June 02, 2003 3:12 PM
>
> > I think Greg H. knows what you're talking about. What he's saying,
> > though, is that ra_svn and ra_local don't pass around URIs internally
> > -- they don't need to, because they're not talking to a web server
> > that so requires. So for them to implement the __get_dir() interface
> > that you proposed means that they have to actually URI-*en*code their
> > results before handing them back to the user (who will then
> > immediately URI-*de*code them.
> >
> > Only ra_dav plays with URIs internally.
>
> Hmmm, so when the user does:
>
> svn co file:///home/svn/myrepos
>
> file:///home/svn/myrepos, or parts of it, is not passed on as a uri?
> Where is it decoded? What happens when you have a repository at
> a location in the filesystem with a space in the path?

See ra_local:split_url.c. The first thing that ra_local does is
URI-decode in the incoming URL, and it uses filesystem paths from
there on out.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 2 15:30:50 2003

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.