-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Accented characters in emails are failing validation #21
Comments
Validator does support internationalized local part, previously it was passing due to IDNA false positive bug. Originally posted by @Xerkus at zendframework/zend-validator#155 (comment) |
@Xerkus but if the validator yields false for them, it means it clearly doesn't support them. Originally posted by @amcsi at zendframework/zend-validator#155 (comment) |
sorry, that was a typo. "does not"* internationalization brings in support for utf characters where were I will try to add proper support for them, will need to do research on the -- On Apr 6, 2017 18:39, "Attila Szeremi" [email protected] wrote:
Originally posted by @Xerkus at zendframework/zend-validator#155 (comment) |
I'm running into the same issue. A client of mine is in Israel and her messages are failing with the bad internationalized domain error:
Are there plans for fixing this? |
I added some debugging and found that the issue is the The value matched against has a Hebrew character after the closing
Replacing the regex with I hope this helps. |
Tests already cover this issue. It's stale and no longer relevant |
This example email used to validate fine until ZF2 2.9.0:
frédé[email protected]
As far as I can see, it's supposed to be valid according to RFC 6532 http://stackoverflow.com/a/760151/1381550
In theory it should not fail validation, and what was brought in ZF2 2.9.0 is a breaking change.
Was this on purpose?
Originally posted by @amcsi at zendframework/zend-validator#155
The text was updated successfully, but these errors were encountered: