Joshua Erickson
fb6377ebd0
net: More accurate IP address validation and IPv6 dotted notation.
...
* Added isIP method to make use of inet_pton to cares_wrap.cc
* Modified net.isIP() to make use of new C++ isIP method.
* Added new tests to test-net-isip.js.
2012-11-06 16:49:21 +01:00
Josh Erickson
7b367a93ce
net: add support for IPv6 addresses ending in ::
...
Modified net.isIP Ipv6 regex to allow for addresses ending in "::".
Added tests for new IPv6 matching reqex.
2012-08-06 22:25:55 +02:00
rsolomo
d40415912f
net: make isIP() return 0 on empty input
2012-05-14 16:09:04 +02:00
Henry Rawas
9057d3f17e
fix isip test
2011-07-12 22:42:09 +02:00
Henry Rawas
1018e7d23f
isIP test
2011-07-08 10:36:16 -07:00
Ryan Dahl
55048cdf79
Update copyright headers
2011-03-14 17:37:05 -07:00
Oleg Efimov
0ce9cbab29
GJSLint continue
2010-12-05 09:28:18 -08:00
Ryan Dahl
a0159b4b29
Fix global leaks
2010-12-04 15:58:50 -08:00
Paul Querna
c8f9728de7
Move dns.isIP to net.isIP
...
Add tests and docs.
2010-09-16 17:27:10 -07:00