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

Re: URI encoding URLs on the cmdline?

From: Jim Correia <jim.correia_at_pobox.com>
Date: 2004-06-05 19:20:26 CEST

On Jun 5, 2004, at 1:21 PM, Peter N. Lundblad wrote:

> I thik I'll try it out then sometimes.
>
> We could have compatibility problems if scripts assume they have to
> encode
> the URLs themselves. I don't know if this is a real concern.

Check the archives - this was discussed before.

It is probably safe to URI encode non-ascii values based on the current
locale. However, if you hit a URI reserved character, like %, it isn't
safe to assume it is needs encoding. (If what follows are not two hex
digits, the % needed encoded, but if what follows *is* two hex digits,
it may still need encoding. Only the person who wrote the URI knows for
sure.)

Jim

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 5 19:21:09 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.