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:
Daniel Hensby 2017-05-28 22:18:35 +01:00 committed by GitHub
commit 911e491236

View File

@ -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;
} }