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
What are you trying to achieve or the steps to reproduce ?
I'd like to achieve using Joi's string email method to validate international email addresses. Currently an error is returned on international email addresses.
Describe your issue here, include schemas and inputs you are validating if needed.
Valid international emails, via wikipedia, are failing the Joi string email validator.
{"error":{"isJoi":true,"name":"ValidationError","details":[{"message":""value" must be a valid email","path":"value","type":"string.email","context":{"value":"Dörte@Sörensen.example.com","key":"value"}}],"_object":"Dörte@Sörensen.example.com"},"value":"Dörte@Sörensen.example.com"}
What did you expect ?
No error in the response.
The text was updated successfully, but these errors were encountered:
Context
What are you trying to achieve or the steps to reproduce ?
I'd like to achieve using Joi's string email method to validate international email addresses. Currently an error is returned on international email addresses.
Describe your issue here, include schemas and inputs you are validating if needed.
Valid international emails, via wikipedia, are failing the Joi string email validator.
Which result you had ?
{"error":{"isJoi":true,"name":"ValidationError","details":[{"message":""value" must be a valid email","path":"value","type":"string.email","context":{"value":"Dörte@Sörensen.example.com","key":"value"}}],"_object":"Dörte@Sörensen.example.com"},"value":"Dörte@Sörensen.example.com"}
What did you expect ?
No error in the response.
The text was updated successfully, but these errors were encountered: