File tree Expand file tree Collapse file tree 5 files changed +200
-0
lines changed
draft2019-09/optional/format Expand file tree Collapse file tree 5 files changed +200
-0
lines changed Original file line number Diff line number Diff line change 22
22
"description" : " an IPv6 address containing illegal characters" ,
23
23
"data" : " ::laptop" ,
24
24
"valid" : false
25
+ },
26
+ {
27
+ "description" : " no digits is valid" ,
28
+ "data" : " ::" ,
29
+ "valid" : true
30
+ },
31
+ {
32
+ "description" : " leading colons is valid" ,
33
+ "data" : " ::42:ff:1" ,
34
+ "valid" : true
35
+ },
36
+ {
37
+ "description" : " trailing colons is valid" ,
38
+ "data" : " d6::" ,
39
+ "valid" : true
40
+ },
41
+ {
42
+ "description" : " two sets of double colons is invalid" ,
43
+ "data" : " 1::d6::42" ,
44
+ "valid" : false
45
+ },
46
+ {
47
+ "description" : " mixed format with the ipv4 section as decimal octets" ,
48
+ "data" : " 1::d6:192.168.0.1" ,
49
+ "valid" : true
50
+ },
51
+ {
52
+ "description" : " mixed format with double colons between the sections" ,
53
+ "data" : " 1:2::192.168.0.1" ,
54
+ "valid" : true
55
+ },
56
+ {
57
+ "description" : " mixed format with ipv4 section with octet out of range" ,
58
+ "data" : " 1::2:192.168.256.1" ,
59
+ "valid" : false
60
+ },
61
+ {
62
+ "description" : " mixed format with ipv4 section with a hex octet" ,
63
+ "data" : " 1::2:192.168.ff.1" ,
64
+ "valid" : false
25
65
}
26
66
]
27
67
}
Original file line number Diff line number Diff line change 22
22
"description" : " an IPv6 address containing illegal characters" ,
23
23
"data" : " ::laptop" ,
24
24
"valid" : false
25
+ },
26
+ {
27
+ "description" : " no digits is valid" ,
28
+ "data" : " ::" ,
29
+ "valid" : true
30
+ },
31
+ {
32
+ "description" : " leading colons is valid" ,
33
+ "data" : " ::1" ,
34
+ "valid" : true
35
+ },
36
+ {
37
+ "description" : " trailing colons is valid" ,
38
+ "data" : " d6::" ,
39
+ "valid" : true
40
+ },
41
+ {
42
+ "description" : " two sets of double colons is invalid" ,
43
+ "data" : " 1::d6::42" ,
44
+ "valid" : false
45
+ },
46
+ {
47
+ "description" : " mixed format with the ipv4 section as decimal octets" ,
48
+ "data" : " 1::d6:192.168.0.1" ,
49
+ "valid" : true
50
+ },
51
+ {
52
+ "description" : " mixed format with double colons between the sections" ,
53
+ "data" : " 1:2::192.168.0.1" ,
54
+ "valid" : true
55
+ },
56
+ {
57
+ "description" : " mixed format with ipv4 section with octet out of range" ,
58
+ "data" : " 1::2:192.168.256.1" ,
59
+ "valid" : false
60
+ },
61
+ {
62
+ "description" : " mixed format with ipv4 section with a hex octet" ,
63
+ "data" : " 1::2:192.168.ff.1" ,
64
+ "valid" : false
25
65
}
26
66
]
27
67
}
Original file line number Diff line number Diff line change 22
22
"description" : " an IPv6 address containing illegal characters" ,
23
23
"data" : " ::laptop" ,
24
24
"valid" : false
25
+ },
26
+ {
27
+ "description" : " no digits is valid" ,
28
+ "data" : " ::" ,
29
+ "valid" : true
30
+ },
31
+ {
32
+ "description" : " leading colons is valid" ,
33
+ "data" : " ::1" ,
34
+ "valid" : true
35
+ },
36
+ {
37
+ "description" : " trailing colons is valid" ,
38
+ "data" : " d6::" ,
39
+ "valid" : true
40
+ },
41
+ {
42
+ "description" : " two sets of double colons is invalid" ,
43
+ "data" : " 1::d6::42" ,
44
+ "valid" : false
45
+ },
46
+ {
47
+ "description" : " mixed format with the ipv4 section as decimal octets" ,
48
+ "data" : " 1::d6:192.168.0.1" ,
49
+ "valid" : true
50
+ },
51
+ {
52
+ "description" : " mixed format with double colons between the sections" ,
53
+ "data" : " 1:2::192.168.0.1" ,
54
+ "valid" : true
55
+ },
56
+ {
57
+ "description" : " mixed format with ipv4 section with octet out of range" ,
58
+ "data" : " 1::2:192.168.256.1" ,
59
+ "valid" : false
60
+ },
61
+ {
62
+ "description" : " mixed format with ipv4 section with a hex octet" ,
63
+ "data" : " 1::2:192.168.ff.1" ,
64
+ "valid" : false
25
65
}
26
66
]
27
67
}
Original file line number Diff line number Diff line change 22
22
"description" : " an IPv6 address containing illegal characters" ,
23
23
"data" : " ::laptop" ,
24
24
"valid" : false
25
+ },
26
+ {
27
+ "description" : " no digits is valid" ,
28
+ "data" : " ::" ,
29
+ "valid" : true
30
+ },
31
+ {
32
+ "description" : " leading colons is valid" ,
33
+ "data" : " ::1" ,
34
+ "valid" : true
35
+ },
36
+ {
37
+ "description" : " trailing colons is valid" ,
38
+ "data" : " d6::" ,
39
+ "valid" : true
40
+ },
41
+ {
42
+ "description" : " two sets of double colons is invalid" ,
43
+ "data" : " 1::d6::42" ,
44
+ "valid" : false
45
+ },
46
+ {
47
+ "description" : " mixed format with the ipv4 section as decimal octets" ,
48
+ "data" : " 1::d6:192.168.0.1" ,
49
+ "valid" : true
50
+ },
51
+ {
52
+ "description" : " mixed format with double colons between the sections" ,
53
+ "data" : " 1:2::192.168.0.1" ,
54
+ "valid" : true
55
+ },
56
+ {
57
+ "description" : " mixed format with ipv4 section with octet out of range" ,
58
+ "data" : " 1::2:192.168.256.1" ,
59
+ "valid" : false
60
+ },
61
+ {
62
+ "description" : " mixed format with ipv4 section with a hex octet" ,
63
+ "data" : " 1::2:192.168.ff.1" ,
64
+ "valid" : false
25
65
}
26
66
]
27
67
}
Original file line number Diff line number Diff line change 22
22
"description" : " an IPv6 address containing illegal characters" ,
23
23
"data" : " ::laptop" ,
24
24
"valid" : false
25
+ },
26
+ {
27
+ "description" : " no digits is valid" ,
28
+ "data" : " ::" ,
29
+ "valid" : true
30
+ },
31
+ {
32
+ "description" : " leading colons is valid" ,
33
+ "data" : " ::1" ,
34
+ "valid" : true
35
+ },
36
+ {
37
+ "description" : " trailing colons is valid" ,
38
+ "data" : " d6::" ,
39
+ "valid" : true
40
+ },
41
+ {
42
+ "description" : " two sets of double colons is invalid" ,
43
+ "data" : " 1::d6::42" ,
44
+ "valid" : false
45
+ },
46
+ {
47
+ "description" : " mixed format with the ipv4 section as decimal octets" ,
48
+ "data" : " 1::d6:192.168.0.1" ,
49
+ "valid" : true
50
+ },
51
+ {
52
+ "description" : " mixed format with double colons between the sections" ,
53
+ "data" : " 1:2::192.168.0.1" ,
54
+ "valid" : true
55
+ },
56
+ {
57
+ "description" : " mixed format with ipv4 section with octet out of range" ,
58
+ "data" : " 1::2:192.168.256.1" ,
59
+ "valid" : false
60
+ },
61
+ {
62
+ "description" : " mixed format with ipv4 section with a hex octet" ,
63
+ "data" : " 1::2:192.168.ff.1" ,
64
+ "valid" : false
25
65
}
26
66
]
27
67
}
You can’t perform that action at this time.
0 commit comments