We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2eb421 commit d66cd3cCopy full SHA for d66cd3c
urlpattern/resources/urlpatterntestdata.json
@@ -2370,11 +2370,17 @@
2370
},
2371
{
2372
"pattern": [{ "hostname": "bad#hostname" }],
2373
- "expected_obj": "error"
+ "exactly_empty_components": ["port"],
2374
+ "expected_match": {
2375
+ "hostname": { "input": "bad", "groups": {} }
2376
+ }
2377
2378
2379
"pattern": [{ "hostname": "bad%hostname" }],
2380
2381
2382
+ "hostname": { "input": "bad%hostname", "groups": {} }
2383
2384
2385
2386
"pattern": [{ "hostname": "bad/hostname" }],
0 commit comments