Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions tests/draft-next/optional/format/uri-reference.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,16 @@
"description": "an invalid URI fragment",
"data": "#frag\\ment",
"valid": false
},
{
"description": "unescaped non US-ASCII characters",
"data": "/foobar®.txt",
"valid": false
},
{
"description": "invalid backslash character",
"data": "https://example.org/foobar\\.txt",
"valid": false
}
]
}
Expand Down
50 changes: 50 additions & 0 deletions tests/draft-next/optional/format/uri.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,56 @@
"description": "an invalid URI with comma in scheme",
"data": "bar,baz:foo",
"valid": false
},
{
"description": "invalid userinfo",
"data": "https://[@example.org/test.txt",
"valid": false
},
{
"description": "unescaped non US-ASCII characters",
"data": "https://example.org/foobar®.txt",
"valid": false
},
{
"description": "invalid backslash character",
"data": "https://example.org/foobar\\.txt",
"valid": false
},
{
"description": "invalid \" character",
"data": "https://example.org/foobar\".txt",
"valid": false
},
{
"description": "invalid <> characters",
"data": "https://example.org/foobar<>.txt",
"valid": false
},
{
"description": "invalid {} characters",
"data": "https://example.org/foobar{}.txt",
"valid": false
},
{
"description": "invalid ^ character",
"data": "https://example.org/foobar^.txt",
"valid": false
},
{
"description": "invalid ` character",
"data": "https://example.org/foobar`.txt",
"valid": false
},
{
"description": "invalid SPACE character",
"data": "https://example.org/foo bar.txt",
"valid": false
},
{
"description": "invalid | character",
"data": "https://example.org/foobar|.txt",
"valid": false
}
]
}
Expand Down
50 changes: 50 additions & 0 deletions tests/draft4/optional/format/uri.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,56 @@
"description": "an invalid URI with comma in scheme",
"data": "bar,baz:foo",
"valid": false
},
{
"description": "invalid userinfo",
"data": "https://[@example.org/test.txt",
"valid": false
},
{
"description": "unescaped non US-ASCII characters",
"data": "https://example.org/foobar®.txt",
"valid": false
},
{
"description": "invalid backslash character",
"data": "https://example.org/foobar\\.txt",
"valid": false
},
{
"description": "invalid \" character",
"data": "https://example.org/foobar\".txt",
"valid": false
},
{
"description": "invalid <> characters",
"data": "https://example.org/foobar<>.txt",
"valid": false
},
{
"description": "invalid {} characters",
"data": "https://example.org/foobar{}.txt",
"valid": false
},
{
"description": "invalid ^ character",
"data": "https://example.org/foobar^.txt",
"valid": false
},
{
"description": "invalid ` character",
"data": "https://example.org/foobar`.txt",
"valid": false
},
{
"description": "invalid SPACE character",
"data": "https://example.org/foo bar.txt",
"valid": false
},
{
"description": "invalid | character",
"data": "https://example.org/foobar|.txt",
"valid": false
}
]
}
Expand Down
10 changes: 10 additions & 0 deletions tests/draft6/optional/format/uri-reference.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,16 @@
"description": "an invalid URI fragment",
"data": "#frag\\ment",
"valid": false
},
{
"description": "unescaped non US-ASCII characters",
"data": "/foobar®.txt",
"valid": false
},
{
"description": "invalid backslash character",
"data": "https://example.org/foobar\\.txt",
"valid": false
}
]
}
Expand Down
50 changes: 50 additions & 0 deletions tests/draft6/optional/format/uri.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,56 @@
"description": "an invalid URI with comma in scheme",
"data": "bar,baz:foo",
"valid": false
},
{
"description": "invalid userinfo",
"data": "https://[@example.org/test.txt",
"valid": false
},
{
"description": "unescaped non US-ASCII characters",
"data": "https://example.org/foobar®.txt",
"valid": false
},
{
"description": "invalid backslash character",
"data": "https://example.org/foobar\\.txt",
"valid": false
},
{
"description": "invalid \" character",
"data": "https://example.org/foobar\".txt",
"valid": false
},
{
"description": "invalid <> characters",
"data": "https://example.org/foobar<>.txt",
"valid": false
},
{
"description": "invalid {} characters",
"data": "https://example.org/foobar{}.txt",
"valid": false
},
{
"description": "invalid ^ character",
"data": "https://example.org/foobar^.txt",
"valid": false
},
{
"description": "invalid ` character",
"data": "https://example.org/foobar`.txt",
"valid": false
},
{
"description": "invalid SPACE character",
"data": "https://example.org/foo bar.txt",
"valid": false
},
{
"description": "invalid | character",
"data": "https://example.org/foobar|.txt",
"valid": false
}
]
}
Expand Down
10 changes: 10 additions & 0 deletions tests/draft7/optional/format/uri-reference.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,16 @@
"description": "an invalid URI fragment",
"data": "#frag\\ment",
"valid": false
},
{
"description": "unescaped non US-ASCII characters",
"data": "/foobar®.txt",
"valid": false
},
{
"description": "invalid backslash character",
"data": "https://example.org/foobar\\.txt",
"valid": false
}
]
}
Expand Down
50 changes: 50 additions & 0 deletions tests/draft7/optional/format/uri.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,56 @@
"description": "an invalid URI with comma in scheme",
"data": "bar,baz:foo",
"valid": false
},
{
"description": "invalid userinfo",
"data": "https://[@example.org/test.txt",
"valid": false
},
{
"description": "unescaped non US-ASCII characters",
"data": "https://example.org/foobar®.txt",
"valid": false
},
{
"description": "invalid backslash character",
"data": "https://example.org/foobar\\.txt",
"valid": false
},
{
"description": "invalid \" character",
"data": "https://example.org/foobar\".txt",
"valid": false
},
{
"description": "invalid <> characters",
"data": "https://example.org/foobar<>.txt",
"valid": false
},
{
"description": "invalid {} characters",
"data": "https://example.org/foobar{}.txt",
"valid": false
},
{
"description": "invalid ^ character",
"data": "https://example.org/foobar^.txt",
"valid": false
},
{
"description": "invalid ` character",
"data": "https://example.org/foobar`.txt",
"valid": false
},
{
"description": "invalid SPACE character",
"data": "https://example.org/foo bar.txt",
"valid": false
},
{
"description": "invalid | character",
"data": "https://example.org/foobar|.txt",
"valid": false
}
]
}
Expand Down
Loading