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

From: Date: Mon, 05 Dec 2016 15:51:13 +0000
Subject: Bug #73655 [Opn]: Spoofchecker::isSuspicious broken
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-205780@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73655&edit=1 ID: 73655 User updated by: sjon at hortensius dot net Reported by: sjon at hortensius dot net Summary: Spoofchecker::isSuspicious broken Status: Open Type: Bug Package: I18N and L10N related PHP Version: 7.1.0 Block user comment: N Private report: N New Comment: This might also be related to the recently released ICU-58 (http://site.icu-project.org/download/58) with which 7.1 was compiled. I'm sure distros will compile with the same ICU but this might be the reason I didn't find a suspicious commit in php-src itself Previous Comments: ------------------------------------------------------------------------ [2016-12-05 15:31:08] sjon at hortensius dot net 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 this bug report at https://bugs.php.net/bug.php?id=73655&edit=1

« previous php.bugs (#205780) next »