validator.js icon indicating copy to clipboard operation
validator.js copied to clipboard

isIP not work as expected for IPv6

Open keyndark opened this issue 8 years ago • 1 comments

Hi.

Function return true for: validator.isIP('2a00:1450:4010:c0b::5f:8080')

Even for: validator.isIP('2a00:1450:4010:c0b::5f:8080:5555')

Validator.js version: 9.4.1

keyndark avatar Mar 25 '18 18:03 keyndark

I`m read the docs about ipv6 adress. No issue in this case. Closed.

keyndark avatar Mar 26 '18 08:03 keyndark