@@ -18,6 +18,7 @@ const INPUTS = [
18
18
, search : ""
19
19
, href : "http://ionicabizau.net/blog"
20
20
, query : { }
21
+ , parse_failed : false
21
22
}
22
23
]
23
24
, [
@@ -34,6 +35,7 @@ const INPUTS = [
34
35
, search : ""
35
36
, href : "http://subdomain.ionicabizau.net/blog"
36
37
, query : { }
38
+ , parse_failed : false
37
39
}
38
40
]
39
41
, [
@@ -50,6 +52,7 @@ const INPUTS = [
50
52
, search : ""
51
53
, href : "http://ionicabizau.net/blog"
52
54
, query : { }
55
+ , parse_failed : false
53
56
}
54
57
]
55
58
, [
@@ -65,6 +68,7 @@ const INPUTS = [
65
68
, hash : "some-hash"
66
69
, search : "foo=bar&bar=42"
67
70
, query : { foo : "bar" , bar : "42" }
71
+ , parse_failed : false
68
72
, href : "http://domain.com/path/name?foo=bar&bar=42#some-hash"
69
73
}
70
74
]
@@ -81,6 +85,7 @@ const INPUTS = [
81
85
, hash : "some-hash?foo=bar&bar=42"
82
86
, search : ""
83
87
, query : { }
88
+ , parse_failed : false
84
89
, href : "http://domain.com/path/name#some-hash?foo=bar&bar=42"
85
90
}
86
91
]
@@ -97,6 +102,7 @@ const INPUTS = [
97
102
, hash : ""
98
103
, search : ""
99
104
, query : { }
105
+ , parse_failed : false
100
106
, href :
"git+ssh://[email protected] /path/name.git"
101
107
}
102
108
]
@@ -115,6 +121,7 @@ const INPUTS = [
115
121
, hash : ""
116
122
, search : ""
117
123
, query : { }
124
+ , parse_failed : true
118
125
, href :
"[email protected] :IonicaBizau/git-stats.git"
119
126
}
120
127
]
@@ -131,6 +138,7 @@ const INPUTS = [
131
138
, hash : ""
132
139
, search : ""
133
140
, query : { }
141
+ , parse_failed : true
134
142
, href : "/path/to/file.png"
135
143
}
136
144
]
@@ -147,6 +155,7 @@ const INPUTS = [
147
155
, hash : ""
148
156
, search : ""
149
157
, query : { }
158
+ , parse_failed : true
150
159
, href : "./path/to/file.png"
151
160
}
152
161
]
@@ -163,6 +172,7 @@ const INPUTS = [
163
172
, hash : ""
164
173
, search : ""
165
174
, query : { }
175
+ , parse_failed : true
166
176
, href : "./.path/to/file.png"
167
177
}
168
178
]
@@ -179,6 +189,7 @@ const INPUTS = [
179
189
, hash : ""
180
190
, search : ""
181
191
, query : { }
192
+ , parse_failed : true
182
193
, href : ".path/to/file.png"
183
194
}
184
195
]
@@ -195,6 +206,7 @@ const INPUTS = [
195
206
, hash : ""
196
207
, search : ""
197
208
, query : { }
209
+ , parse_failed : true
198
210
, href : "path/to/file.png"
199
211
}
200
212
] , [
@@ -210,6 +222,7 @@ const INPUTS = [
210
222
, hash : ""
211
223
, search : ""
212
224
, query : { }
225
+ , parse_failed : true
213
226
, href :
"[email protected] :9IonicaBizau/git-stats.git"
214
227
}
215
228
] , [
@@ -225,6 +238,7 @@ const INPUTS = [
225
238
, hash : ""
226
239
, search : ""
227
240
, query : { }
241
+ , parse_failed : true
228
242
, href :
"[email protected] :0xABC/git-stats.git"
229
243
}
230
244
] , [
@@ -241,6 +255,7 @@ const INPUTS = [
241
255
, search : ""
242
256
, href : "https://attacker.com/@example.com"
243
257
, query : { }
258
+ , parse_failed : false
244
259
}
245
260
] , [
246
261
"jav\r\nascript://%0aalert(1)"
@@ -255,6 +270,7 @@ const INPUTS = [
255
270
, hash : ""
256
271
, href : "javascript://%0aalert(1)"
257
272
, query : { }
273
+ , parse_failed : false
258
274
, search : ""
259
275
}
260
276
] , [
@@ -270,6 +286,7 @@ const INPUTS = [
270
286
, hash : ""
271
287
, href : "https://github.com:89/org/repo.git"
272
288
, query : { }
289
+ , parse_failed : false
273
290
, search : ""
274
291
}
275
292
]
0 commit comments