-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filters - email removes the ' character #10595
Comments
Good question. Apostrophes should be valid before the @ symbol yet most of the big e-mail companies do not accept them. 👍 |
I'd say that following the standards is more important than following big e-mail companies. This gives Phalcon users more fine-grained control over what they want to allow. I was pretty surprised myself that the Besides, if you look at the email validator, it uses the native |
I closed the old pull request as that one was trying to merge with master. Which I shouldnt |
The filter now no longer removes the ' character, fixes #10595
Fixed in the 2.0.x branch |
According to Wikipedia the following special characters are allowed in an email address:
https://en.wikipedia.org/wiki/Email_address#Local_part
Also when you do a 'native' php filter_var call, the
'
character is not removed:Why does Phalcon remove the
'
character?https://github.com/phalcon/cphalcon/blob/master/phalcon/filter.zep#L150
The text was updated successfully, but these errors were encountered: