We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The email format constraint currently uses the FILTER_VALIDATE_EMAIL to validate email addresses.
Email addresses with unicode characters will not pass validation even if they are consider valid from as international email addresses.
This problem could be improved by adding FILTER_FLAG_EMAIL_UNICODE in
php-json-schema/src/Constraint/Format.php
Line 55 in 2b99251
filter_var($data, FILTER_VALIDATE_EMAIL, FILTER_FLAG_EMAIL_UNICODE) ? null : 'Invalid email';
The text was updated successfully, but these errors were encountered:
FILTER_FLAG_EMAIL_UNICODE
Successfully merging a pull request may close this issue.
Context
The email format constraint currently uses the FILTER_VALIDATE_EMAIL to validate email addresses.
Email addresses with unicode characters will not pass validation even if they are consider valid from as international email addresses.
This problem could be improved by adding FILTER_FLAG_EMAIL_UNICODE in
php-json-schema/src/Constraint/Format.php
Line 55 in 2b99251
The text was updated successfully, but these errors were encountered: