Skip to content

Commit b242817

Browse files
authored
Merge pull request #213 from davishmcclurg/ipv6-iri-format
Fix invalid IPv6 IRI
2 parents 71843cb + 2146b02 commit b242817

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/draft7/optional/format/iri.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,14 @@
2525
},
2626
{
2727
"description": "a valid IRI based on IPv6",
28-
"data": "http://2001:0db8:85a3:0000:0000:8a2e:0370:7334",
28+
"data": "http://[2001:0db8:85a3:0000:0000:8a2e:0370:7334]",
2929
"valid": true
3030
},
31+
{
32+
"description": "an invalid IRI based on IPv6",
33+
"data": "http://2001:0db8:85a3:0000:0000:8a2e:0370:7334",
34+
"valid": false
35+
},
3136
{
3237
"description": "an invalid relative IRI Reference",
3338
"data": "/abc",

0 commit comments

Comments
 (0)