url: Add support for RFC 3490 separators
authorMathias Bynens <mathias@qiwi.be>
Mon, 4 Aug 2014 10:44:06 +0000 (12:44 +0200)
committerFedor Indutny <fedor@indutny.com>
Wed, 27 Aug 2014 10:36:04 +0000 (14:36 +0400)
commitb869797a2de4c806382975f4114aac8841edcb15
treeb6333b6e963c017809e101f3f72f5504550d6ff0
parent0f2956192c51abc6fc8311102b004f1e975e157f
url: Add support for RFC 3490 separators

There is no need to split the host by hand in `url.js` – Punycode.js
takes care of it anyway. This not only simplifies the code, but also
adds support for RFC 3490 separators (i.e. not just U+002E, but U+3002,
U+FF0E, and U+FF61 as well).

Closes #6055.

Reviewed-By: Fedor Indutny <fedor@indutny.com>
lib/url.js