diff --git a/modules/authYubiKey/libextinc/Yubico.php b/modules/authYubiKey/libextinc/Yubico.php index fbd667223496946a636a2483fcb681e3d0925d34..67e4374cf1d1f17bd0ee2340ca92a090e6393b3b 100644 --- a/modules/authYubiKey/libextinc/Yubico.php +++ b/modules/authYubiKey/libextinc/Yubico.php @@ -137,11 +137,11 @@ class Auth_Yubico /* Verify signature. */ if($this->_key <> "") { - $rows = split("\r\n", $responseMsg); + $rows = explode("\r\n", $responseMsg); while (list($key, $val) = each($rows)) { // = is also used in BASE64 encoding so we only replace the first = by # which is not used in BASE64 $val = preg_replace('/=/', '#', $val, 1); - $row = split("#", $val); + $row = explode("#", $val); $response[$row[0]] = (isset($row[1])) ? $row[1] : ""; }