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

Re: path canonicalization problem (issue #559)

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-01-21 20:48:06 CET

On Mon, Jan 21, 2002 at 11:37:50AM -0600, Karl Fogel wrote:
> Great, thanks Garrett! I've left issue #559 assigned to Branko;
> recommend discussing with him whatever solution you come up with, it
> seems that he's thought about this a lot and will have useful things
> to say, no matter who writes the code.
>
> Note that issue #559 is not about duplicate slashes within the string,
> but about stripping trailing slash(es) from the end of the string.
> Maybe we'll want to change one behavior and not the other, or maybe
> both, but in any case, the specific badness referred to in the issue
> results from stripping trailing slashes.

Canonicalization also means to remove double slashes and components that
have "." in them. It also means to handle ".." properly, by removing both
the ".." and the preceding component.

Cheers,
-g

-- 
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 Sat Oct 21 14:36:57 2006

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.