ogt / valid-url

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

Additional test cases #17

Open zachleat opened 6 years ago

zachleat commented 6 years ago

https://gist.github.com/mxpv/034933deeebb26b62f14

Was running the above through valid-url and here are the ones that failed when they should have succeeded:

http://✪df.ws/123
http://➡.ws/䨹
http://⌘.ws
http://⌘.ws/
http://foo.com/unicode_(✪)_in_parens
http://☺.damowmow.com/
http://مثال.إختبار
http://例子.测试
http://उदाहरण.परीक्षा
adrienv1520 commented 4 years ago

Hi @zachleat,

Built this strictly based on RFC-3986: https://github.com/adrienv1520/node-uri

It supports IDNs and the main features of this project are:

I hope it could help you ;)