Cookies are no longer serialized

Based on update to library 09e859a13e we no longer serialize cookies, so the decrypter no longer needs to apply a serialization layer
This commit is contained in:
Samuel Georges 2019-11-02 14:52:00 +11:00
parent 76db3355e6
commit 49d68f0671
2 changed files with 3 additions and 1 deletions

View File

@ -1172,6 +1172,7 @@ class Lists extends WidgetBase
/**
* Process as text, escape the value
* @return string
*/
protected function evalTextTypeValue($record, $column, $value)
{
@ -1188,6 +1189,7 @@ class Lists extends WidgetBase
/**
* Process as number, proxy to text
* @return string
*/
protected function evalNumberTypeValue($record, $column, $value)
{

View File

@ -1657,7 +1657,7 @@ class Controller
$token = Request::input('_token') ?: Request::header('X-CSRF-TOKEN');
if (!$token && $header = Request::header('X-XSRF-TOKEN')) {
$token = Crypt::decrypt($header);
$token = Crypt::decrypt($header, false);
}
if (!strlen($token) || !strlen(Session::token())) {