techvalidate / pano

MIT License
0 stars 0 forks source link

Use `\A` and `\z` as anchors in email validator regex to match with w… #64

Closed bullrico closed 6 years ago

bullrico commented 6 years ago

…hole string (catches new line characters; also: prevent malicious input from being saved before or after a new line character). Addresses techvalidate/cx/issues/3212.

jmckible commented 6 years ago

Yes, +1 on adding a test. After that, this should be sent back up the chain to master