News for hackers. Stuff that matters.
Re:In search of the perfect URL validation regex (2010) by Too on Sunday September 26, 2021 @03:07AM (#28659007)
On top of this the error messages with a regex will be very one-dimensional.

As an example, http://localhost/ is technically valid url, which he wants to block. Should this error say misformatted URL like all others?

Using regex to cover all such cases is really the wrong tool for the job.

There are no comments on this comment yet.