W3C home > Mailing lists > Public > www-international@w3.org > April to June 2014

[Bug 24845] Merge <form> and URL error modes?

From: <bugzilla@jessica.w3.org>
Date: Wed, 02 Apr 2014 10:01:18 +0000
To: www-international@w3.org
Message-ID: <bug-24845-4285-Nz7Fhq19co@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24845

--- Comment #4 from Simon Pieters <simonp@opera.com> ---
There are two cases which currently are handled differently in the spec:

Consider a document (with a http: base URL) with encoding windows-1251 which
includes a link <a href="?&aring;"> and a form <form><input name=x
value="&aring;"></form>. å is not representable in windows-1251. The former is
turned into ?%3F and the latter is turned into ?%26%23229%3B. The proposal is
to make both ?%26%23229%3B.

The proposal matches WebKit/Blink.

IE almost matches the current spec, it just doesn't percent-escape the "?".

Gecko switches to utf-8 for the whole URL and gets ?%C3%A5.

I think the <form> handling is interoperable already.

I think the relevant part of the spec is
http://encoding.spec.whatwg.org/#concept-encoding-process

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Wednesday, 2 April 2014 10:01:20 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 2 April 2014 10:01:21 UTC