freewil / express-form

Form validation and data filtering for Express
MIT License
89 stars 21 forks source link

replace isEmail() with something more simple #9

Closed freewil closed 10 years ago

freewil commented 10 years ago

The regex used by isEmail() is ridiculously complicated and is vulnerable to ReDoS attack.

https://github.com/chriso/validator.js/issues/152 https://github.com/dandean/express-form/issues/45