Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #943 from hafriedlander/fix/extrameta_whitelist

FIX Limit ExtraMeta to only allow meta and link elements
  • Loading branch information...
commit 118776672a0f0fb3715c991a453cb5793bb445b1 2 parents ca37dc8 + 224033e
@chillu chillu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  code/model/SiteTree.php
View
2  code/model/SiteTree.php
@@ -105,7 +105,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid
"MenuTitle" => "Varchar(100)",
"Content" => "HTMLText",
"MetaDescription" => "Text",
- "ExtraMeta" => "HTMLText",
+ "ExtraMeta" => "HTMLText('meta, link')",
"ShowInMenus" => "Boolean",
"ShowInSearch" => "Boolean",
"Sort" => "Int",
Please sign in to comment.
Something went wrong with that request. Please try again.