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

Re: IRI to URI and auto-escaping

From: Branko Čibej <brane_at_xbc.nu>
Date: 2004-07-21 17:25:56 CEST

C. Michael Pilato wrote:

>Branko Čibej <brane@xbc.nu> writes:
>
>
>
>>I'd like to propose that for 2.0, we _do_ change our internal format
>>to IRI and let the RA layer handle any conversions. The reason is
>>simple: there are other clients apart from the command-line client
>>that don't use svn_opt_args_to_target_array. As it stands for 1.0,
>>these clients will have to reimplement (or copy our implementation of)
>>IRI->URI translation, which seems like a bit of a pain.
>>
>>
>
>Fly. Buick.
>
>Just expose the URI<->IRI conversion functions in the API.
>
Yuck. We expose too many implementation details as it is. Why should
ra_local (and ra_svn) convert an URI back to an IRI to to get at the
path, even though they don't require any escaping? Why should we do this
conversion in every error message that contains an URI?

I'm even on the verge of proposing we ditch XML for the entries file and
use UTF-8-encoded config files instead, as that'll avoid 99% of the
escaping problems we have in entries files now.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 21 17:26:39 2004

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.