Re: The Data Sanitization Plan
From: Greg Stein <gstein_at_lyra.org>
Date: 2002-06-25 22:31:09 CEST
On Tue, Jun 25, 2002 at 02:52:31PM -0500, Ben Collins-Sussman wrote:
Yes.
> 2. all URLs passed to libsvn_* are assumed to be
Yes.
> 3. all log messages passed to libsvn_* are assumed to be
Yes.
> Our thoughts are to create three utility routines in libsvn_subr,
The last one is not needed. We can simply use a function that converts from
Note that Marcus has a big-ass patch outstanding. Some/all of that patch
Also: it has a patch to APR's xlate functions which should be applied to
>...
It comes from the semantic, "given a canonicalized root, merge <this>
> * Rumors has it that there exist various apr iconv routines to
Look at Marcus' patch.
> sanitization func is going to take a locale argument; in the case
Yes, take a source character set (string). The client can use
> * We can easily write a routine to convert '\' into '/'
Already done (by Branko). See svn_path_internal_style(). It modifies a
const char * svn_path_internal_style(const char *path, apr_pool_t *pool);
> * The only real question is whether (and how) our cmdline client
I'm almost positive that you will have to type it that way. Consider these
http://example.com/repos/notes/conversion?
The URLs have entirely different meanings. If we escape the first one, then
However, if we carefully read through RFC 2396, we may find that we can
But this is going to require a review of which characters are in and which
Eek :-) For now, I would recommend /not/ escaping (because it could damage
Cheers,
-- Greg Stein, http://www.lyra.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Tue Jun 25 22:28:48 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.