[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: Marcus Comstedt <marcus_at_mc.pp.se>
Date: 2002-06-26 16:38:23 CEST

Karl Fogel <kfogel@newton.ch.collab.net> writes:

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

I think I can gather enough enthusiasm to make another merge and post
an updated patch. :-) I have fixed svnlook and svnadmin, and
verified proper operation with a file: URL containing non-ascii
characters. I haven't been able to test the http:/https: case since I
haven't had time to set up an Apache.

> > * 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 ?)

This locale argument is somewhat problematic, since it should in this
case presumably be used also when "desanitizing" the paths. Since
this has to be done whenever a file is opened or stated, the data flow
for this parameter would be pretty ubiquitous.

  // Marcus

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 26 16:43:56 2002

This is an archived mail posted to the Subversion Dev mailing list.