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

Again false positive in a url #27

Open
gil2gm opened this issue Jun 8, 2019 · 1 comment
Open

Again false positive in a url #27

gil2gm opened this issue Jun 8, 2019 · 1 comment

Comments

@gil2gm
Copy link

gil2gm commented Jun 8, 2019

Again the value

NOT URL http://a.b--c.de/
NOT URL http://www.foo.bar./

Return True

@adrienv1520
Copy link

Hi @gil2gm,

I was facing the same issues with valid-url but also validator so I decided to build a module as reliable as possible strictly based on RFC-3986: https://github.com/adrienv1520/node-uri

The main features of this project are:

  • parse any URI (URNs, URLs, URIs with IDNs support, etc.);
  • get the safe Punycode ASCII or Unicode serialization of a domain;
  • check an URI, HTTP/HTTPS/Sitemap URL, IP, domain is valid with clear checking errors;
  • encode/decode an URI, HTTP/HTTPS/Sitemap URL.

I hope it could help you.

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

2 participants