-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Customer Email with diacritics isn't allowed #12075
Comments
@Drakhunter, thank you for your report. |
@magento-engcom-team any updates? We need a fix asap |
Hi @engcom-Bravo. Thank you for working on this issue.
|
✅ Confirmed by @engcom-Bravo Issue Available: @engcom-Bravo, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself. |
@sdzhepa Looks like it is not bug this is default behavior. Even more, for this responsible not magento. There is special class for validation It is easy to fix but it is not Magento. So i think we can close current issue. |
@ProkopovVitaliy No, it is Magento because magento core code is using this. Magento customers such as myself need customer entity email addresses to support special characters like diacritics. |
@magento I am working on this |
- fixed customer email with diacritics validation when create from admin panel or by curl request
Magento2 doesn't allow E-Mails with diacritics in CURL Requests.
According to wikipedia this should be allowed, but Magento is restricting it.
Is there a Fix or Workaround or something?
Preconditions
Steps to reproduce
$data = [ 'customer' => [ 'email' => pepé@emailtest.com ] ]
Expected result
Actual result
1.
{"message":"\"Email\" ist keine g\u00fcltige E-Mail-Adresse."
(roughly translated: Email isn't a valid E-Mail-Address)Additional Notes
Reproduced it via Swagger with using the following query /swagger#/customerAccountManagementV1/customerAccountManagementV1CreateAccountPost
![swagger_create customer](https://user-images.githubusercontent.com/51680745/72134993-1772e600-338e-11ea-9e72-62fa1b432b6e.png)
The response is :
But this is also reproducible if try to create a customer from Magento Admin
![email_from admin](https://user-images.githubusercontent.com/51680745/72135583-86047380-338f-11ea-9754-1f2d122f9a9e.png)
The text was updated successfully, but these errors were encountered: