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:
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();
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user