W3C home > Mailing lists > Public > public-iri@w3.org > September 2009

Editorial for Web Address in HTML 5

From: NARUSE, Yui <naruse@airemix.jp>
Date: Thu, 10 Sep 2009 02:17:49 +0900
Message-ID: <4AA7E33D.9010706@airemix.jp>
To: public-iri@w3.org
Hi,
I originally posted on whatwg and am introduced here.
http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-September/022777.html

This is about Web addresses in HTML 5.
http://www.w3.org/html/wg/href/draft

In 2 Parsing Web addresses at 2. Percent-encode all non-URI characters in w,
percent-encoding many characters includeing U+0025 percent sign.
But by this spec, if a Web address w is already escaped URL,
this process double-escape those characters.

For example, w is http://www.example.org/D%C3%BCrst,
on step 2, w comes to be http://www.example.org/D%25C3%25BCrst.
And on step 5, w is broken.

So it shouldn't escape percent sign,
and if you want to give percent sign, it must be already escaped.

Regards,

-- 
NARUSE, Yui  <naruse@airemix.jp>
Received on Wednesday, 9 September 2009 17:18:39 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:39:40 UTC