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

Re: The Data Sanitization Plan

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-06-25 22:02:03 CEST

Should also point out that this is where we *finally* make use of
Marcus "Infinite Patience" Comstedt's UTF-8 patch(es).

-K

Ben Collins-Sussman <sussman@collab.net> writes:
> ==> How to implement the sanitization routines
>
> * Karl says apr_file_path_merge() will give us the "canonical" case
> of path components. That sounds good. Except the name of that
> func is really weird. :-)
>
> * Rumors has it that there exist various apr iconv routines to
> convert data to UTF-8. We've already decided that each
> sanitization func is going to take a locale argument; in the case
> of our cmdline client, this information can be gathered either by
> getting the system locale, or by using a particular locale from
> the commandline (--locale ?)
>
> * We can easily write a routine to convert '\' into '/'
>
> * The only real question is whether (and how) our cmdline client
> should "automatically escape" URLs. Is this too dangerous? Is
> there some reasonable heuristic to use? It would stink if I had
> to type this:
>
> svn diff -r3:4 http://path/to/my%20file
>
>
> Feedback welcome...
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 25 22:10:27 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.