You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The email validation is slightly outdated. From PHP 7.1 and the fact that modern domain names can use various unicode nowadays (eg. http://müller.com/), the email validation ought to be updated. The email validation functionality can be found at /src/Illuminate/Validation/Concerns/ValidatesAttributes.php and the function is validateEmail(). Other relevant information can be found at: https://secure.php.net/manual/en/filter.filters.validate.php (at the row with FILTER_VALIDATE_EMAIL) http://php.net/manual/en/filter.constants.php (at the bottom at FILTER_FLAG_EMAIL_UNICODE)
Steps To Reproduce:
Creating a Validator with an email rule and then pass "test@müller.com" into it.
Thank you for your time, if you need any more information, please don't hesitate to ask. I tried implementing it quickly myself by adding the flag to the filter_var (, but that did not seem to do the trick so far :( I will in the meanwhile implement it for my project as a custom validation rule (see: https://laravel.com/docs/5.4/validation#custom-validation-rules )
The text was updated successfully, but these errors were encountered:
Description:
The email validation is slightly outdated. From PHP 7.1 and the fact that modern domain names can use various unicode nowadays (eg. http://müller.com/), the email validation ought to be updated. The email validation functionality can be found at /src/Illuminate/Validation/Concerns/ValidatesAttributes.php and the function is validateEmail(). Other relevant information can be found at:
https://secure.php.net/manual/en/filter.filters.validate.php (at the row with FILTER_VALIDATE_EMAIL)
http://php.net/manual/en/filter.constants.php (at the bottom at FILTER_FLAG_EMAIL_UNICODE)
Steps To Reproduce:
Creating a Validator with an email rule and then pass "test@müller.com" into it.
Thank you for your time, if you need any more information, please don't hesitate to ask. I tried implementing it quickly myself by adding the flag to the filter_var (, but that did not seem to do the trick so far :( I will in the meanwhile implement it for my project as a custom validation rule (see: https://laravel.com/docs/5.4/validation#custom-validation-rules )
The text was updated successfully, but these errors were encountered: