// 1.percent-encoded IDN that contains blacklisted character should be converted // to punycode, not UTF-8 string // 2.only hostname-valid percent encoded ASCII characters should be decoded // 3.IDN convertion must not bypassed by %00
"use strict";
let reference = [
[ "www.example.com%e2%88%95www.mozill%d0%b0.com%e2%81%84www.mozilla.org", "www.example.xn--comwww-re3c.xn--mozill-8nf.xn--comwww-rq0c.mozilla.org",
],
];
let badURIs = [
["www.mozill%61%2f.org"], // a slash is not valid in the hostname
["www.e%00xample.com%e2%88%95www.mozill%d0%b0.com%e2%81%84www.mozill%61.org"],
];
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.