Bug #73655 [NEW]: Spoofchecker::isSuspicious broken

From: Date: Mon, 05 Dec 2016 15:31:12 +0000
Subject: Bug #73655 [NEW]: Spoofchecker::isSuspicious broken
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-205779@lists.php.net to get a copy of this message
From: sjon at hortensius dot net Operating system: PHP version: 7.1.0 Package: I18N and L10N related Bug Type: Bug Bug description:Spoofchecker::isSuspicious broken Description: ------------ It seems Spoofchecker::isSuspicious is broken; testing an example from the manual all PHP versions work fine; except 7.1.0. This seems related to an update which was done to the localization which was not present in any of the RCs (insert rant about RCs being real RCs here) Test script: --------------- See https://3v4l.org/5HWQT, script was copied from http://php.net/manual/en/spoofchecker.issuspicious.php <?php $checker = new Spoofchecker(); var_dump($checker->isSuspicious('google.com')); var_dump($checker->isSuspicious('Рaypal.com')); Expected result: ---------------- bool(false) bool(true) Actual result: -------------- bool(false) bool(false) -- Edit bug report at https://bugs.php.net/bug.php?id=73655&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73655&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73655&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73655&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=73655&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=73655&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=73655&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=73655&r=needscript Try newer version: https://bugs.php.net/fix.php?id=73655&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=73655&r=support Expected behavior: https://bugs.php.net/fix.php?id=73655&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=73655&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=73655&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=73655&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73655&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=73655&r=dst IIS Stability: https://bugs.php.net/fix.php?id=73655&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=73655&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=73655&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=73655&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=73655&r=mysqlcfg

« previous php.bugs (#205779) next »