Editorial for Web Address in HTML 5

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