From: ("")
Date:  29 Oct 2016 16:43:13 Hong Kong Time

[PEAR-BUG] Bug #21141 [Com]: Add test cases for invalid checkIPv6

NNTP-Posting-Host:  null

Edit report at

 ID:               21141
 Comment by:
 Reported By:      phil dot davis at inf dot org
 Summary:          Add test cases for invalid checkIPv6
 Status:           Open
 Type:             Bug
 Package:          Net_IPv6
 Package Version:  1.3.0b2
 PHP Version:      Irrelevant
 Roadmap Versions: 
 New Comment:

The idea for these extra tests came from failing cases in older Net_IPv6
versions. The current code works for these, so no need to change actual
production code.
The original details were written up at:
which, of course, never amounted to anything, because that GitHub repo
is not being monitored.

Previous Comments:

[2016-10-29 04:39:44] phildavis

Added #patch bug:21141;patch:checkIPv6tests2;revision:1477730384;.


[2016-10-29 04:24:27] phildavis

Added #patch bug:21141;patch:checkIPv6tests;revision:1477729467;.


[2016-10-29 04:21:20] phildavis

In the past, strings like ":1:2:3:4:5:6:7:8:" would pass checkIPv6 as if
they were valid IPv6 addresses. This behavior was corrected some time
ago. But no test cases were added for these particular styles of input

Add some test cases for these style of invalid IPv6 address strings.


Edit this bug report at