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
12 changes: 12 additions & 0 deletions tests/draft2019-09/optional/format/idn-hostname.json
Original file line number Diff line number Diff line change
Expand Up @@ -331,12 +331,24 @@
"description": "empty string",
"data": "",
"valid": false
},
{
"description": "A-label that decodes to a disallowed code point is invalid",
"comment": "https://www.rfc-editor.org/rfc/rfc5890#section-2.3.2.1 https://www.rfc-editor.org/rfc/rfc5892#section-2.6",
"data": "xn--7a",
"valid": false
},
{
"description": "A-label that decodes to a Bidi rule violation is invalid",
"comment": "https://www.rfc-editor.org/rfc/rfc5890#section-2.3.2.1 https://www.rfc-editor.org/rfc/rfc5893",
"data": "xn--0ca24w",
"valid": false
}
]
},
{
"description": "validation of separators in internationalized host names",
"specification": [

Check notice on line 351 in tests/draft2019-09/optional/format/idn-hostname.json

View workflow job for this annotation

GitHub Actions / annotate

Specification Link

https://www.rfc-editor.org/rfc/rfc3490.html#section-3.1
{"rfc3490": "3.1", "quote": "Whenever dots are used as label separators, the following characters MUST be recognized as dots: U+002E (full stop), U+3002 (ideographic full stop), U+FF0E (fullwidth full stop), U+FF61(halfwidth ideographic full stop)"}
],
"schema": {
Expand Down
12 changes: 12 additions & 0 deletions tests/draft2020-12/optional/format/idn-hostname.json
Original file line number Diff line number Diff line change
Expand Up @@ -331,12 +331,24 @@
"description": "empty string",
"data": "",
"valid": false
},
{
"description": "A-label that decodes to a disallowed code point is invalid",
"comment": "https://www.rfc-editor.org/rfc/rfc5890#section-2.3.2.1 https://www.rfc-editor.org/rfc/rfc5892#section-2.6",
"data": "xn--7a",
"valid": false
},
{
"description": "A-label that decodes to a Bidi rule violation is invalid",
"comment": "https://www.rfc-editor.org/rfc/rfc5890#section-2.3.2.1 https://www.rfc-editor.org/rfc/rfc5893",
"data": "xn--0ca24w",
"valid": false
}
]
},
{
"description": "validation of separators in internationalized host names",
"specification": [

Check notice on line 351 in tests/draft2020-12/optional/format/idn-hostname.json

View workflow job for this annotation

GitHub Actions / annotate

Specification Link

https://www.rfc-editor.org/rfc/rfc3490.html#section-3.1
{"rfc3490": "3.1", "quote": "Whenever dots are used as label separators, the following characters MUST be recognized as dots: U+002E (full stop), U+3002 (ideographic full stop), U+FF0E (fullwidth full stop), U+FF61(halfwidth ideographic full stop)"}
],
"schema": {
Expand Down
12 changes: 12 additions & 0 deletions tests/draft7/optional/format/idn-hostname.json
Original file line number Diff line number Diff line change
Expand Up @@ -323,12 +323,24 @@
"description": "empty string",
"data": "",
"valid": false
},
{
"description": "A-label that decodes to a disallowed code point is invalid",
"comment": "https://www.rfc-editor.org/rfc/rfc5890#section-2.3.2.1 https://www.rfc-editor.org/rfc/rfc5892#section-2.6",
"data": "xn--7a",
"valid": false
},
{
"description": "A-label that decodes to a Bidi rule violation is invalid",
"comment": "https://www.rfc-editor.org/rfc/rfc5890#section-2.3.2.1 https://www.rfc-editor.org/rfc/rfc5893",
"data": "xn--0ca24w",
"valid": false
}
]
},
{
"description": "validation of separators in internationalized host names",
"specification": [

Check notice on line 343 in tests/draft7/optional/format/idn-hostname.json

View workflow job for this annotation

GitHub Actions / annotate

Specification Link

https://www.rfc-editor.org/rfc/rfc3490.html#section-3.1
{"rfc3490": "3.1", "quote": "Whenever dots are used as label separators, the following characters MUST be recognized as dots: U+002E (full stop), U+3002 (ideographic full stop), U+FF0E (fullwidth full stop), U+FF61(halfwidth ideographic full stop)"}
],
"schema": { "format": "idn-hostname" },
Expand Down
12 changes: 12 additions & 0 deletions tests/v1/format/idn-hostname.json
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,18 @@
"description": "empty string",
"data": "",
"valid": false
},
{
"description": "A-label that decodes to a disallowed code point is invalid",
"comment": "https://www.rfc-editor.org/rfc/rfc5890#section-2.3.2.1 https://www.rfc-editor.org/rfc/rfc5892#section-2.6",
"data": "xn--7a",
"valid": false
},
{
"description": "A-label that decodes to a Bidi rule violation is invalid",
"comment": "https://www.rfc-editor.org/rfc/rfc5890#section-2.3.2.1 https://www.rfc-editor.org/rfc/rfc5893",
"data": "xn--0ca24w",
"valid": false
}
]
},
Expand Down
Loading