[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: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-06-06 17:56:43 CEST

On Sun, 2004-06-06 at 08:56, Jim Correia wrote:
> The rule would have to be more strict than "you can use any character
> you want in a URI
> on the command line except for '%'". The rule would have to apply to
> all URI reserved characters, not just % since there is no way to know
> whether the author of the URI intended for the character to be escaped
> or not. In fact RFC 2396 says that one needs to consider URIs always
> escaped (2.4.2) for this very reason.

We're mostly talking about the path part here, where only a few reserved
characters are disallowed. But you're right, characters like '?' and
'#' are also at issue, not just '%'.

I remain confident that we would be doing our users a service by
auto-escaping international characters in URLs, even if we remain picky
about reserved punctuation. There's no need to introduce CMike's
hypothetical verbose error message; if we see confusing puncutation, we
can bounce out the URI with exactly the same error message as we do
now. Since the URI encoding rules are already complex, the naive user
already has no hope of understanding what to do; we wouldn't be making
that any different, just less frequent.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jun 6 17:58:07 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.