mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #3971 from tractorcow/pulls/3.1/fix-param-len
BUG Fix serialised stateid exceeding request length
This commit is contained in:
commit
ff562e126f
@ -840,7 +840,7 @@ class GridField_FormAction extends FormAction {
|
||||
'args' => $this->args,
|
||||
);
|
||||
|
||||
$id = md5(serialize($state));
|
||||
$id = substr(md5(serialize($state)), 0, 8);
|
||||
Session::set($id, $state);
|
||||
$actionData['StateID'] = $id;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user