blob: 73681657067edb4253badf26316879a36c7ca03d (
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
|
========================================
Trust root parsing checking
========================================
----------------------------------------
23: Does not parse
----------------------------------------
baz.org
*.foo.com
http://*.schtuff.*/
ftp://foo.com
ftp://*.foo.com
http://*.foo.com:80:90/
foo.*.com
http://foo.*.com
http://www.*
http://*foo.com/
http://foo.com/invalid#fragment
http://..it/
http://.it/
http://*:8081/
http://*:80
http://localhost:1900foo/
http://foo.com\/
http://π.pi.com/
http://lambda.com/Λ
5
----------------------------------------
14: Insane
----------------------------------------
http:///
http://*/
https://*/
http://*.com
http://*.com/
https://*.com/
http://*.com.au/
http://*.co.uk/
http://*.foo.notatld/
https://*.foo.notatld/
http://*.museum/
https://*.museum/
http://www.schtuffcom/
http://it/
----------------------------------------
18: Sane
----------------------------------------
http://*.schtuff.com./
http://*.schtuff.com/
http://*.foo.schtuff.com/
http://*.schtuff.com
http://www.schtuff.com/
http://www.schtuff.com./
http://www.schutff.com
http://*.this.that.schtuff.com/
http://*.foo.com/path
http://*.foo.com/path?action=foo2
http://x.foo.com/path?action=foo2
http://x.foo.com/path?action=%3D
http://localhost:8081/
http://localhost:8082/?action=openid
https://foo.com/
http://kink.fm/should/be/sane
http://beta.lingu.no/
http://goathack.livejournal.org:8020/openid/login.bml
========================================
return_to matching
========================================
----------------------------------------
46: matches
----------------------------------------
http://*/ http://cnn.com/
http://*/ http://livejournal.com/
http://*/ http://met.museum/
http://localhost:8081/x?action=openid http://localhost:8081/x?action=openid
http://*.foo.com http://b.foo.com
http://*.foo.com http://b.foo.com/
http://*.foo.com/ http://b.foo.com
http://b.foo.com http://b.foo.com
http://b.foo.com http://b.foo.com/
http://b.foo.com/ http://b.foo.com
http://*.b.foo.com http://b.foo.com
http://*.b.foo.com http://b.foo.com/
http://*.b.foo.com/ http://b.foo.com
http://*.b.foo.com http://x.b.foo.com
http://*.b.foo.com http://w.x.b.foo.com
http://*.bar.co.uk http://www.bar.co.uk
http://*.uoregon.edu http://x.cs.uoregon.edu
http://x.com/abc http://x.com/abc
http://x.com/abc http://x.com/abc/def
http://10.0.0.1/abc http://10.0.0.1/abc
http://*.x.com http://x.com/gallery
http://*.x.com http://foo.x.com/gallery
http://foo.x.com http://foo.x.com/gallery/xxx
http://*.x.com/gallery http://foo.x.com/gallery
http://localhost:8082/?action=openid http://localhost:8082/?action=openid
http://goathack.livejournal.org:8020/ http://goathack.livejournal.org:8020/openid/login.bml
https://foo.com https://foo.com
http://Foo.com http://foo.com
http://foo.com http://Foo.com
http://foo.com:80/ http://foo.com/
http://foo.com/?x=y http://foo.com/?x=y&a=b
http://foo.com/x http://foo.com/x?y
http://mylid.net/j3h. http://mylid.net/j3h.?x=y
http://j3h.us http://j3h.us?ride=unicycle
https://www.filmclans.com:443/mattmartin/FilmClans https://www.filmclans.com/mattmartin/FilmClans/Logon.aspx?nonce=BVjqSOee
http://foo.com:80 http://foo.com
http://foo.com http://foo.com:80
http://foo.com http://foo.com/
http://foo.com/ http://foo.com
http://foo.com/ http://foo.com:80
http://foo.com:80/ http://foo.com:80/stuff
http://foo.com:80/ http://foo.com/stuff
http://foo.com/path http://foo.com/path/extra
http://foo.com/path2 http://foo.com/path2?extra=query
http://foo.com/path2 http://foo.com/path2/?extra=query
http://foo.com/ HTTP://foo.com/
----------------------------------------
25: does not match
----------------------------------------
http://*/ ftp://foo.com/
http://*/ xxx
http://foo.com/ http://oo.com/
http://*.x.com/abc http://foo.x.com
http://*.x.com/abc http://*.x.com
http://*.com/ http://*.com/
http://x.com/abc http://x.com/
http://x.com/abc http://x.com/a
http://x.com/abc http://x.com/ab
http://x.com/abc http://x.com/abcd
http://*.cs.uoregon.edu http://x.uoregon.edu
http://*.foo.com http://bar.com
http://*.foo.com http://www.bar.com
http://*.bar.co.uk http://xxx.co.uk
https://foo.com http://foo.com
http://foo.com https://foo.com
http://foo.com:81 http://foo.com:80
http://foo.com/?a=b http://foo.com/?x=y
http://foo.com/?a=b http://foo.com/?x=y&a=b
http://foo.com/?a=b http://foo.com/
http://*.oo.com/ http://foo.com/
http://foo.com/* http://foo.com/anything
http://foo.com http://foo.com:443
https://foo.com https://foo.com:80
http://foo.com/path/xev http://foo.com/path?extra=more
|