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

Re: %20 URL bug

From: Nick Lindridge <nick_at_ioncube.com>
Date: 2006-11-23 12:10:20 CET

Lillian Wrote:

> %20 also appears in URL displayed at the bottom of Merge dialog under the
> following sentence:
> "wich points to the repository at URL:"
>
> Could you remove then. I know, this is just informative message, but it
> looks
> ugly.

You seem to be arguing for aesthetics over correctness, and URL's where
never designed to be aesthetically pleasing. After all, if they were, we
wouldn't have had http:// in the first place.

URL's should not contain spaces or other special characters, and so called
URL encoding that turns spaces and other characters into hex notation is
the correct process. There are several problems with spaces, not least of
which would be that if you copy pasted a URL with spaces and passed that
to a command line program, then unless you quoted the string in the shell
you would obviously not get the results that you expect. Browsers and some
other programs may accept spaces in URI's because they are tolerant of
user error, just as they are generally tolerant of malformed HTML, but
they don't have to be.

My suggestion would be not to use spaces in the first place, and instead
adopt a different separator that will not be URL encoded.

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Nov 23 12:10:43 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.