Skip to content
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

Incorrectly validates "qwantz" as valid URL. #101

Open
molecule opened this issue Oct 8, 2020 · 0 comments
Open

Incorrectly validates "qwantz" as valid URL. #101

molecule opened this issue Oct 8, 2020 · 0 comments

Comments

@molecule
Copy link

molecule commented Oct 8, 2020

var url = "qwantz";
var result = anchorme.validate.url(url);
console.log(result);
// prints true

Any string gets incorrectly validated as a valid URL.
Shouldn't it need to have at least .com (or .biz, etc)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant