Re: Editorial for Web Address in HTML 5

NARUSE, Yui wrote:
> 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.
> ...

That spec is already obsolete; work is now going on in
<http://tools.ietf.org/html/draft-duerst-iri-bis-06>.

(I think I asked the same question some time ago, and it turned out
there's another un-escaping step undoing this; however I agree that this
is totally confusing and needs to be changed or at least explained much
better)

BR, Julian

Received on Wednesday, 9 September 2009 17:48:01 UTC