Prevent email regex from matching newlines #294

Merged
1 commit merged into from Jan 6, 2012

1 participant

@boone

The email regex should be using \A and \z instead of ^ and $.

Explanation at http://guides.rubyonrails.org/security.html#regular-expressions

This should close #95.

@ghost ghost merged commit dffa236 into binarylogic:master Jan 6, 2012
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment