W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2003

Re: Double Spaces in URI's

From: Charles Reitzel <creitzel@rcn.com>
Date: Tue, 11 Mar 2003 10:27:50 -0500
Message-Id: <>
To: "Ben Noblet" <ben@lateralsystems.com.au>
Cc: <html-tidy@w3.org>

Hi Ben,

I think you will find it difficult to maintain double spaces anywhere with 
Tidy as the parser condenses whitespace up front.

No matter, Fred is right.  Just use %20 for each space within a URL.

IE has always done this for you automatically.  It is only recently that 
Netscape and Opera started escaping URLs before a GET.  Not sure about 

take it easy,

At 11:27 AM 3/11/2003 +1100, Ben Noblet wrote:

>Hi all,
>I am new to the list, so apoligies if this has been dealt with before.
>I did search the archives but couldn't find anything.
>I have a situation where double spaces in a URL are being converted to a
>single space.  If I have fix-uri on, then it gets converted to a single
>%20.  No other options appear to make any difference at all.
>I am using TidyATL and can reproduce this using TidyUI.
><img src="/images/photo  one.jpg"/>
>Becomes either
><img src="/images/photo one.jpg"/>
><img src="/images/photo%20one.jpg"/>
>In both cases the link is now broken.  It appears to have exactly the
>same issue with <a> tags.
>Any advice appreciated.
Received on Tuesday, 11 March 2003 10:40:02 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:53 UTC