Re: [whatwg/url] Perhaps do not apply ToASCII for ASCII-only input (#267)

So my recommendation is that we go with a fourth solution:

* ToASCII definition changes to do less validation on all input

In particular make use of the new CheckHyphens proposed in http://www.unicode.org/reports/tr46/tr46-18.html#ToASCII. I'm not entirely sure how to update the standard though potentially we could refer to the proposed version. I think we've done that in the past as well.

I filed these bugs (I hope someone can help with Node.js, they seem well represented):

* https://bugzilla.mozilla.org/show_bug.cgi?id=1365893
* https://bugs.chromium.org/p/chromium/issues/detail?id=724018
* https://bugs.webkit.org/show_bug.cgi?id=172282
* https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/12059095/

I wrote these tests (quite a few from @rmisev): https://github.com/w3c/web-platform-tests/pull/5976.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/267#issuecomment-302370962

Received on Thursday, 18 May 2017 10:55:22 UTC