-
-
Notifications
You must be signed in to change notification settings - Fork 2.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
feat(isFQDN): fix tld validation #1091
Conversation
lib/isFQDN.js
Outdated
} // disallow special characers | ||
|
||
|
||
if (/[\u00A9\uFFFD]/.test(tld)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this an exhaustive list or we might be having more characters? And why don't we add them on line 45?
Thanks for the PR! 🎉 |
First, sorry for this later answer and thank you for reviewing my PR, as you mentioned, I moved the instruction to the previous line. |
Sorry on my delay on checking this, I'm going to review it by end of the weekend. Please be on the standby for any changes to be made... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Actually this commit is related to #1087
The isFQDN feature does not filter some illegal characters like
� or ©