@@ -128,6 +128,10 @@ public function getValidUrls()
128128 ['http://very.long.domain.name.com/ ' ],
129129 ['http://localhost/ ' ],
130130 ['http://myhost123/ ' ],
131+ ['http://internal-api ' ],
132+ ['http://internal-api. ' ],
133+ ['http://internal-api/ ' ],
134+ ['http://internal-api/path ' ],
131135 ['http://127.0.0.1/ ' ],
132136 ['http://127.0.0.1:80/ ' ],
133137 ['http://[::1]/ ' ],
@@ -174,6 +178,7 @@ public function getValidUrls()
174178 ['http://symfony.com/#fragment ' ],
175179 ['http://symfony.com/#one_more%20test ' ],
176180 ['http://example.com/exploit.html?hello[0]=test ' ],
181+ ['http://বিডিআইএ.বাংলা ' ],
177182 ];
178183 }
179184
@@ -259,7 +264,14 @@ public function getInvalidUrls()
259264 ['http://127.0.0.1:aa/ ' ],
260265 ['ftp://[::1]/ ' ],
261266 ['http://[::1 ' ],
267+ ['http://☎ ' ],
268+ ['http://☎. ' ],
269+ ['http://☎/ ' ],
270+ ['http://☎/path ' ],
271+ ['http://hello.☎ ' ],
272+ ['http://hello.☎. ' ],
262273 ['http://hello.☎/ ' ],
274+ ['http://hello.☎/path ' ],
263275 ['http://:password@symfony.com ' ],
264276 ['http://:password@@symfony.com ' ],
265277 ['http://username:passwordsymfony.com ' ],
@@ -276,6 +288,9 @@ public function getInvalidUrls()
276288 ['http://.m.example.com ' ],
277289 ['http://wwww.example..com ' ],
278290 ['http://.www.example.com ' ],
291+ ['http://example.co- ' ],
292+ ['http://example.co-/path ' ],
293+ ['http:///path ' ],
279294 ];
280295 }
281296
0 commit comments