[Chandler-dev] Re: [commits] (morgen) [11685] People often get
spaces in their sharing urls when copying/pasting,
so detecting/complaining about them on subscribe
Morgen Sagen
morgen at osafoundation.org
Thu Sep 7 20:36:37 PDT 2006
On Sep 7, 2006, at 5:46 PM, Philippe Bossut wrote:
> Hi Morgen,
>
> Rather than a dialog and error, shouldn't we rather use the ISO-
> Latin encoding (used for URLs) and convert those characters? For
> space, this is 32 decimal or 20 in Hex so it becomes '%20' in a URL.
>
> e.g.: http://www.osaf.foo bar.htm -> http://www.osaf.foo%20bar.htm
>
> I'd prefer that to a dialog to be honest. It'll catch some simple
> encoding/decoding cases though, indeed, it might be that the URL is
> wrong anyway...
>
> Cheers,
> - Philippe
In this case I'm not adding a dialog -- the user is already in the
Subscribe dialog, and the warning about embedded spaces is actually
displayed at the bottom of that dialog. Also, I think most of the
time these embedded spaces are truly copy/paste errors caused by
wrapped lines, and so converting them to %20 isn't going to be the
right fix.
More information about the chandler-dev
mailing list