Skip to content

Commit

Permalink
[URL] Add expected failure tests for ASCII domains whose labels conta…
Browse files Browse the repository at this point in the history
…in invalid IDNA (#29008)
  • Loading branch information
karwa committed May 16, 2021
1 parent 20b739c commit 07ae085
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions url/resources/urltestdata.json
Expand Up @@ -3645,6 +3645,17 @@
"search": "?%EF%BF%BD",
"hash": "#%EF%BF%BD"
},
"Domain is ASCII, but a label is invalid IDNA",
{
"input": "http://a.b.c.xn--pokxncvks",
"base": "about:blank",
"failure": true
},
{
"input": "http://10.0.0.xn--pokxncvks",
"base": "about:blank",
"failure": true
},
"Test name prepping, fullwidth input should be converted to ASCII and NOT IDN-ized. This is 'Go' in fullwidth UTF-8/UTF-16.",
{
"input": "http://Go.com",
Expand Down

0 comments on commit 07ae085

Please sign in to comment.