blob: 64c2d189e67b0b39201ba60ce8a59e9f89c0f257 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
<!DOCTYPE html>
<meta charset=utf-8>
<title>valid cite</title>
<ins cite="file:///"></ins><!-- scheme-file-slash-slash-slash-only -->
<ins cite="http://a:@www.example.com"></ins><!-- userinfo-password-empty -->
<ins cite="foo://///////"></ins><!-- scheme-private-path-leading-slashes-only -->
<ins cite="file://abc|/foo/bar"></ins><!-- scheme-file-slash-slash-abc-bar -->
<ins cite="/a/b/c"></ins><!-- path-simple-relative -->
<ins cite="http://example.com/你好你好"></ins><!-- path-unicode-han -->
<ins cite="/a/%2f/c"></ins><!-- path-percent-encoded-slash-plus-slashes-relative -->
<ins cite="http://f:/c"></ins><!-- port-none-but-colon -->
<ins cite="http://example.com/foo%41%7a"></ins><!-- path-percent-encoded-multiple -->
<ins cite="http://192.168.0.257/"></ins><!-- host-IP-address-broken -->
<ins cite="madeupscheme:example.com/"></ins><!-- scheme-private-no-slash -->
<ins cite="?"></ins><!-- query-empty-no-path-relative -->
<ins cite="http://example.com/%20foo"></ins><!-- path-percent-encoded-space -->
<ins cite="mailto:/example.com/"></ins><!-- scheme-mailto-single-slash -->
<ins cite="::"></ins><!-- path-leading-colon-colon-relative -->
<ins cite="http://example.com/%3A%3a%3C%3c"></ins><!-- path-percent-encoded-mixed-case -->
<ins cite="http://user:pass@foo:21/bar;par?b#c"></ins><!-- userinfo -->
<ins cite="ws:/example.com/"></ins><!-- scheme-ws-single-slash -->
<ins cite="foo://"></ins><!-- scheme-private-slash-slash -->
<ins cite="#"></ins><!-- fragment-empty-hash-only-no-path-relative -->
<ins cite="http://f:00000000000000/c"></ins><!-- port-00000000000000 -->
<ins cite="foo:////://///"></ins><!-- scheme-private-path-leading-slashes-colon-slashes -->
<ins cite=":23"></ins><!-- path-leading-colon-number-relative -->
<ins cite="foo:/"></ins><!-- scheme-private-slash -->
<ins cite="http://💩"></ins><!-- host-is-pile-of-poo -->
<ins cite="file:test"></ins><!-- scheme-file-no-slash -->
<ins cite="file://C|/foo/bar"></ins><!-- scheme-file-slash-slash-c-bar -->
<ins cite="#/"></ins><!-- fragment-slash-relative -->
<ins cite="http://192.0x00A80001"></ins><!-- host-192.0x00A80001 -->
<ins cite="foo.com"></ins><!-- scheme-none-relative -->
<ins cite="http💩//:foo"></ins><!-- path-contains-pile-of-poo -->
<ins cite="File://foo/bar.html"></ins><!-- scheme-file-uppercase -->
<ins cite=":/"></ins><!-- path-leading-colon-slash-relative -->
<ins cite="http://www.foo。bar.com"></ins><!-- host-exotic-dot -->
<ins cite="http://GOOgoo.com"></ins><!-- host-exotic-whitespace -->
<ins cite="file:///foo/bar.txt"></ins><!-- scheme-file-host-empty -->
<ins cite="javascript:/example.com/"></ins><!-- scheme-javascript-single-slash -->
<ins cite="gopher:/example.com/"></ins><!-- scheme-gopher-single-slash -->
<ins cite="ftps:example.com/"></ins><!-- scheme-ftps-no-slash -->
<ins cite="file://server/foo/bar"></ins><!-- scheme-file-host-included -->
<ins cite="http://example.com/foo%00"></ins><!-- path-percent-encoded-u0000 -->
<ins cite="a:foo.com"></ins><!-- scheme-private -->
<ins cite=":"></ins><!-- path-colon-relative -->
<ins cite="http://:b@www.example.com"></ins><!-- userinfo-user-empty -->
<ins cite="file:/"></ins><!-- scheme-file-slash-only -->
<ins cite="wss:example.com/"></ins><!-- scheme-wss-no-slash -->
<ins cite="::23"></ins><!-- path-colon-colon-number-relative -->
<ins cite="/a%2fc"></ins><!-- path-percent-encoded-slash-relative -->
<ins cite="http://a:b@c:29/d"></ins><!-- userinfo-host-port-path -->
<ins cite="gopher:example.com/"></ins><!-- scheme-gopher-no-slash -->
<ins cite="madeupscheme:/example.com/"></ins><!-- scheme-private-single-slash -->
<ins cite="mailto:example.com/"></ins><!-- scheme-mailto-no-slash -->
<ins cite="http://%25DOMAIN:foobar@foodomain.com"></ins><!-- userinfo-username-contains-percent-encoded -->
<ins cite="/:23"></ins><!-- path-slash-colon-number-relative -->
<ins cite="foo://///////bar.com/"></ins><!-- scheme-private-path-leading-slashes-chars -->
<ins cite="http://[2001::1]:80"></ins><!-- host-ipv6-port -->
<ins cite="data:text/plain,foo"></ins><!-- scheme-data-no-slash -->
<ins cite="http://example.com/foo/%2e"></ins><!-- path-percent-encoded-dot -->
<ins cite="file:/example.com/"></ins><!-- scheme-file-single-slash -->
<ins cite="http://example.com/©zbar"></ins><!-- path-non-ascii -->
<ins cite="http://example.com//foo"></ins><!-- path-uFEFF -->
<ins cite="wss:/example.com/"></ins><!-- scheme-wss-single-slash -->
<ins cite="http://foo/abcd#foo?bar"></ins><!-- fragment-contains-question-mark -->
<ins cite=":#"></ins><!-- path-leading-colon-hash-relative -->
<ins cite="http://example.com/foo%91"></ins><!-- path-percent-encoded-u0091 -->
<ins cite="c:/foo"></ins><!-- scheme-private-single-letter -->
<ins cite=":foo.com"></ins><!-- path-leading-colon-chars-relative -->
<ins cite="http://你好你好"></ins><!-- host-idn-unicode-han -->
<ins cite="http://example.com/foo#💩"></ins><!-- fragment-contains-pile-of-poo -->
<ins cite="file:"></ins><!-- scheme-file-scheme-only -->
<ins cite="#β"></ins><!-- fragment-non-ascii-relative -->
<ins cite="foo:/bar.com/"></ins><!-- scheme-private-path -->
<ins cite="http://f:0/c"></ins><!-- port-0 -->
<ins cite="#;?"></ins><!-- fragment-semicolon-question-mark-relative -->
<ins cite="http://Go.com"></ins><!-- host-fullwidth -->
<ins cite="http://@www.example.com"></ins><!-- userinfo-empty -->
<ins cite="http://example.com//foo//bar"></ins><!-- path-u202E-u202D -->
<ins cite="http://[2001::1]"></ins><!-- host-ipv6 -->
<ins cite="💩http://foo"></ins><!-- path-starts-with-pile-of-poo -->
<ins cite="http://foo/abcd?efgh?ijkl"></ins><!-- query-contains-question-mark -->
<ins cite="//foo/bar"></ins><!-- scheme-schemeless-relative -->
<ins cite="ftps:/example.com/"></ins><!-- scheme-ftps-single-slash -->
<ins cite="http://foo.com:b@d/"></ins><!-- userinfo-username-non-alpha -->
<ins cite=":a"></ins><!-- path-leading-colon-letter-relative -->
<ins cite="/"></ins><!-- path-slash-only-relative -->
<ins cite="http://example.com/foo?💩"></ins><!-- query-contains-pile-of-poo -->
<ins cite="http://f:00000000000000000000080/c"></ins><!-- port-00000000000000000000080 -->
<ins cite="file://"></ins><!-- scheme-file-slash-slash-only -->
|