We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
when validating user input it is necessary to remove parameters from namehash that will throw an error.
I end up doing this a lot: var valid = namehash.normalize(str.replace(/ |&_|@/g,''));
I'd be up for reading the spec on idna-uts46 if there was interest in making a: namehash.valinput()
edit: I'm new to working on github, so please let me know the steps to contribute. apologies in advance for my ignorance!
The text was updated successfully, but these errors were encountered:
Hi, sorry for not replying here, I guess I was busy, and don't have a contributing guide.
Pull requests welcome! Just add a test for the validation you'd like to enforce, this sounds reasonable, I'd merge it if PR'd.
Sorry, something went wrong.
No branches or pull requests
when validating user input it is necessary to remove parameters from namehash that will throw an error.
I end up doing this a lot:
var valid = namehash.normalize(str.replace(/ |&_|@/g,''));
I'd be up for reading the spec on idna-uts46 if there was interest in making a:
namehash.valinput()
edit: I'm new to working on github, so please let me know the steps to contribute. apologies in advance for my ignorance!
The text was updated successfully, but these errors were encountered: