Antibot make_confusing fix
This commit is contained in:
parent
c5ec20684e
commit
bec9f21787
@ -48,8 +48,9 @@ class AntiBot {
|
|||||||
|
|
||||||
foreach ($chars as &$c) {
|
foreach ($chars as &$c) {
|
||||||
if (rand(0, 2) != 0)
|
if (rand(0, 2) != 0)
|
||||||
continue;
|
$c = utf8tohtml($c);
|
||||||
$c = mb_encode_numericentity($c, array(0, 0xffff, 0, 0xffff), 'UTF-8');
|
else
|
||||||
|
$c = mb_encode_numericentity($c, array(0, 0xffff, 0, 0xffff), 'UTF-8');
|
||||||
}
|
}
|
||||||
|
|
||||||
return implode('', $chars);
|
return implode('', $chars);
|
||||||
|
Loading…
Reference in New Issue
Block a user