You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-31 10:54:46 +03:00
cookie authentication: fix cookie_iv length detection with mb_string overload
Signed-off-by: Dmitry Bakshaev <dab1818@gmail.com> Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
committed by
Marc Delisle
parent
5916f3b8da
commit
c1495982ab
@@ -793,7 +793,7 @@ class AuthenticationCookie extends AuthenticationPlugin
|
||||
true
|
||||
);
|
||||
}
|
||||
if (strlen($this->_cookie_iv) < $this->getIVSize()) {
|
||||
if (mb_strlen($this->_cookie_iv,'8bit') < $this->getIVSize()) {
|
||||
$this->createIV();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user