mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #4 from silverstripe-security/patch/3.4/SS-2017-004
[SS-2017-004] FIX Unescaped fields in CMSPageHistroyController::compare()
This commit is contained in:
commit
911e491236
@ -410,10 +410,6 @@ class CMSPageHistoryController extends CMSMain {
|
|||||||
"Version" => $fromVersion,
|
"Version" => $fromVersion,
|
||||||
));
|
));
|
||||||
|
|
||||||
foreach($form->Fields()->dataFields() as $field) {
|
|
||||||
$field->dontEscape = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user