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

Re: svn commit: r10133 - in trunk/subversion: include libsvn_subr tests/clients/cmdline tests/libsvn_subr

From: Branko Čibej <brane_at_xbc.nu>
Date: 2004-07-06 00:34:34 CEST

Josh Pieper wrote:

>Branko ??ibej wrote:
>
>
>>Josh Pieper wrote:
>>
>>
>>>file:/// URLs would have to be special cased then to leave the ".."
>>>path elements in since a portion is directly translated to a
>>>filesystem path.
>>>
>>No they do not. They're still URLs, not paths.
>>
>>
>I don't understand. Are you saying that some portions of file:// URLs
>are not given directly to the filesystem to resolve? Or that we can
>safely collapse "/../" paths from them? Or something else?
>
>
Both, but the second is more important. I think we should consider
removing the '/../' portions from file:// URLs. Whilst we can't do that
safely in paths -- because of the order in which symlinks get resolved,
as I now understand -- I think we can safely forbid this kind of symlink
magic for canonical repository URLs and simply declare that these don't
contain /../ and /./ sequences. That would let us handle all URLs the same.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 6 00:50:06 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.