Skip to content

Commit 2664140

Browse files
Added exemptions for hosts that can't be parsed into URIs, as we'll never get into this state (webview2 will not provide invalid uris to the navigation handlers, it'll fail upstream) (#143)
1 parent 658c8a6 commit 2664140

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

malicious-site-protection/canonicalization_tests.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,19 +115,19 @@
115115
"name": "Decode any %XX escapes present in the hostname",
116116
"siteURL": "http://www.%73ome%73ite.com",
117117
"expectDomain": "www.somesite.com",
118-
"exceptPlatforms": []
118+
"exceptPlatforms": ["windows-browser"]
119119
},
120120
{
121121
"name": "Discard any leading and/or trailing full-stops",
122122
"siteURL": "http://.www.somesite.com.",
123123
"expectDomain": "www.somesite.com",
124-
"exceptPlatforms": []
124+
"exceptPlatforms": ["windows-browser"]
125125
},
126126
{
127127
"name": "Replace sequences of two or more full-stops with a single full-stop.",
128128
"siteURL": "http://www..example...com",
129129
"expectDomain": "www.example.com",
130-
"exceptPlatforms": []
130+
"exceptPlatforms": ["windows-browser"]
131131
},
132132
{
133133
"name": "If the hostname is a numeric IPv4 address, reduce it to the canonical dotted quad form.",

0 commit comments

Comments
 (0)