Open
Description
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
filter_var($data, FILTER_VALIDATE_EMAIL, FILTER_FLAG_EMAIL_UNICODE) ? null : 'Invalid email';
Metadata
Metadata
Assignees
Labels
No labels