@@ -128,6 +128,10 @@ public function getValidUrls()
128
128
['http://very.long.domain.name.com/ ' ],
129
129
['http://localhost/ ' ],
130
130
['http://myhost123/ ' ],
131
+ ['http://internal-api ' ],
132
+ ['http://internal-api. ' ],
133
+ ['http://internal-api/ ' ],
134
+ ['http://internal-api/path ' ],
131
135
['http://127.0.0.1/ ' ],
132
136
['http://127.0.0.1:80/ ' ],
133
137
['http://[::1]/ ' ],
@@ -174,6 +178,7 @@ public function getValidUrls()
174
178
['http://symfony.com/#fragment ' ],
175
179
['http://symfony.com/#one_more%20test ' ],
176
180
['http://example.com/exploit.html?hello[0]=test ' ],
181
+ ['http://বিডিআইএ.বাংলা ' ],
177
182
];
178
183
}
179
184
@@ -259,7 +264,14 @@ public function getInvalidUrls()
259
264
['http://127.0.0.1:aa/ ' ],
260
265
['ftp://[::1]/ ' ],
261
266
['http://[::1 ' ],
267
+ ['http://☎ ' ],
268
+ ['http://☎. ' ],
269
+ ['http://☎/ ' ],
270
+ ['http://☎/path ' ],
271
+ ['http://hello.☎ ' ],
272
+ ['http://hello.☎. ' ],
262
273
['http://hello.☎/ ' ],
274
+ ['http://hello.☎/path ' ],
263
275
264
276
['http://:password@@symfony.com ' ],
265
277
['http://username:passwordsymfony.com ' ],
@@ -276,6 +288,9 @@ public function getInvalidUrls()
276
288
['http://.m.example.com ' ],
277
289
['http://wwww.example..com ' ],
278
290
['http://.www.example.com ' ],
291
+ ['http://example.co- ' ],
292
+ ['http://example.co-/path ' ],
293
+ ['http:///path ' ],
279
294
];
280
295
}
281
296
0 commit comments