program/include/rcmail.php
@@ -178,7 +178,7 @@ // Also strtoupper/strtolower and other methods are locale-aware // for these locales it is problematic (#1490519) if (in_array($lang, array('tr_TR', 'ku', 'az_AZ'))) { setlocale(LC_CTYPE, 'en_US.utf8', 'en_US.UTF-8'); setlocale(LC_CTYPE, 'en_US.utf8', 'en_US.UTF-8', 'C'); } } @@ -592,6 +592,8 @@ // try to log in if (!$storage->connect($host, $username, $pass, $port, $ssl)) { // Wait a second to slow down brute-force attacks (#1490549) sleep(1); return false; }