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
is this issue currently blocking your project? (yes/no): yes
is this issue affecting a production system? (yes/no): yes
Context
node version: 10.22.1
module version with issue: 17.3.0
last module version without issue: NA
environment (e.g. node, browser, native): NodeJs
used with (e.g. hapi application, another framework, standalone, ...): ExpressJs
any other relevant information:
What are you trying to achieve or the steps to reproduce?
We are trying to verify emails using Joi. Following snippet demonstrates the way we are using Joi. The variable failingPayload contains the email address which Joi rejects. The email domain "dpllp.cpa" is valid
Support plan
Context
What are you trying to achieve or the steps to reproduce?
We are trying to verify emails using Joi. Following snippet demonstrates the way we are using Joi. The variable
failingPayload
contains the email address which Joi rejects. The email domain "dpllp.cpa" is validWhat was the result you got?
We got validation error stating that the email address is invalid.
What result did you expect?
Since this email is valid. We expect Joi to pass this validation.
Additional Information
Looking at the API docs (here), we figured out that this validation uses IANA TLD list. However, the TLD
CPA
is present in (IANA TLD Directory)The text was updated successfully, but these errors were encountered: