5
Use Ruby regex for email validation in guide example by ryanong · Pull Request #...
source link: https://github.com/rails/rails/pull/43832
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
existing email regex allowed for invalid emails and invalidated valid emails
-
The following emails are shown to be valid emails when they are not:
email_<script></script>[email protected]
email"[email protected]
-
The following email is shown to be an invalid email when it is valid:
Lets use the default ruby regex instead
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK