#46973 [NEW]: IPv6 address filter rejects valid address

From: Date: Tue, 30 Dec 2008 14:11:17 +0000
Subject: #46973 [NEW]: IPv6 address filter rejects valid address
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-132411@lists.php.net to get a copy of this message
From: alexandre at amen dot fr Operating system: Debian PHP version: 5.2.8 PHP Bug Type: Filter related Bug description: IPv6 address filter rejects valid address Description: ------------ The IPv6 address filter in the filter extension rejects valid IPv6 address notations: '1fff::a88:85a3::172.31.128.1' Reproduce code: --------------- var_dump(filter_var('1fff::a88:85a3::172.31.128.1', FILTER_VALIDATE_IP,FILTER_FLAG_IPV6)); Expected result: ---------------- 1fff::a88:85a3::172.31.128.1 Actual result: -------------- false -- Edit bug report at http://bugs.php.net/?id=46973&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46973&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46973&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46973&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46973&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46973&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=46973&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46973&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46973&r=needscript Try newer version: http://bugs.php.net/fix.php?id=46973&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46973&r=support Expected behavior: http://bugs.php.net/fix.php?id=46973&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46973&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46973&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46973&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46973&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=46973&r=dst IIS Stability: http://bugs.php.net/fix.php?id=46973&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46973&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46973&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46973&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46973&r=mysqlcfg

« previous php.bugs (#132411) next »