News for hackers. Stuff that matters.
Re:In search of the perfect URL validation regex by alricb on Tuesday June 24, 2014 @09:40PM (#7941800)
Many of these regexes should not be used on user input, at least not if your regex library backtracks (uses NFAs), because of the risk of ReDoS: http://en.wikipedia.org/wiki/ReDoS

Trying to shoehorn NFAs into parsing stuff that isn't a regular expression is generally a bad idea. (See: Langsec.)

There are no comments on this comment yet.