ID: 48762 Updated by: [email protected] 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] [email protected] 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
