[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: Marcus Comstedt <marcus_at_mc.pp.se>
Date: 2002-08-29 23:22:51 CEST

=?UTF-8?B?QnJhbmtvIMSMaWJlag==?= <brane@xbc.nu> writes:

> >Hm, now that I read your message a second time I see that you propose
> >to change the _canonical path separator_ to 0xfe. Why would you want
> >to do that? Leaving the canonical path separator as '/' (as in my
> >proposal) avoids changing any code that deals with path separator at
> >all.
> >
>
>
> Any code that deals with the path separator and doesn't use
> SVN_PATH_SEPARATOR is broken anyway. And all that code is in exactly
> one file, libsvn_subr/path.c.
>
>
> And anyway, I didn't say I want to do that, just that I think it's
> better than your plan to encode "dangerous" chars with invalid UTF-8
>
> sequences.

But you didn't say _why_ you thought it better. You would still have
invalid UTF-8 sequences (only now you'd have them all the time), the
only difference would be that you have to do an extra conversion when
creating URLs since SVN_PATH_SEPARATOR would no longer be the URL path
separator.

  // Marcus

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 29 23:23:57 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.