ogt / valid-url

Node module that provides URI validation functions
https://npmjs.org/package/valid-url
Other
215 stars 26 forks source link

Shouldn't this url be invalid? #13

Open cbshakumar opened 8 years ago

cbshakumar commented 8 years ago

isHttpUri and isHttpsUri methods both report 'http://http://blah' as valid.

jodacame commented 6 years ago

Here others example:

http://www,example,com http://www,example.com http://www.example,com http://ex@mple.com

adrienv1520 commented 4 years ago

Hi @cbshakumar @jodacame,

Same issues with valid-url but also validator, just built this strictly based on RFC-3986: https://github.com/adrienv1520/node-uri

The main features of the project are:

I hope it could help you guys ;)