#48762 [Opn->Asn]: IPv6 address filter still rejects valid address
| From: | jani@php.net | Date: | Mon, 13 Jul 2009 19:10:58 +0000 |
| Subject: | #48762 [Opn->Asn]: IPv6 address filter still rejects valid address | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-139696@lists.php.net to get a copy of this message | ||
ID: 48762
Updated by: jani@php.net
Reported By: valli at icsurselva dot ch
-Status: Open
+Status: Assigned
Bug Type: Filter related
Operating System: Gentoo Linux
PHP Version: 5.2.10
-Assigned To:
+Assigned To: felipe
New Comment:
Felipe, please check this out too while fixing the other bugs in this
same thing..
Previous Comments:
------------------------------------------------------------------------
[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