News for hackers. Stuff that matters.
Re:In search of the perfect URL validation regex (2010) by Rebelgecko on Saturday September 25, 2021 @03:10PM (#28655452)
This could potentially be abused, but you could actually try to resolve the DNS to determine if it's valid (could be weird for some cases like localhost or IP addresses). Or just do a "curl https://whatever.com" and see what happens (assuming that all of the websites are running a webserver, although idk if that is true in your situation)

There are no comments on this comment yet.