#48762 [Asn->Csd]: IPv6 address filter still rejects valid address

From: Date: Thu, 16 Jul 2009 23:30:34 +0000
Subject: #48762 [Asn->Csd]: IPv6 address filter still rejects valid address
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-139846@lists.php.net to get a copy of this message
ID: 48762 Updated by: felipe@php.net Reported By: valli at icsurselva dot ch -Status: Assigned +Status: Closed Bug Type: Filter related Operating System: Gentoo Linux PHP Version: 5.2.10 Assigned To: felipe New Comment: This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Fixed in 5.2, 5.3 and HEAD. Previous Comments: ------------------------------------------------------------------------ [2009-07-13 19:10:57] jani@php.net Felipe, please check this out too while fixing the other bugs in this same thing.. ------------------------------------------------------------------------ [2009-07-01 23:29:30] valli at icsurselva dot ch Description: ------------ The IPv6 address filter in the filter extension still rejects valid IPv6 address notations. E.g.: ::67:78b:34.43.43.2 0b15:23::3:67.98.234.17 (This Bug was probably introduced while fixing http://bugs.php.net/bug.php?id=46973) Reproduce code: --------------- var_dump(filter_var('0b15:23::3:67.98.234.17', FILTER_VALIDATE_IP,FILTER_FLAG_IPV6)); Expected result: ---------------- 0b15:23::3:67.98.234.17 Actual result: -------------- false ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48762&edit=1

« previous php.bugs (#139846) next »