U4-7477 xss char stripping on data type names is being too agressive

This commit is contained in:
Shannon
2015-12-16 12:58:23 +01:00
parent 7cf1491661
commit bdc7837f63
2 changed files with 4 additions and 4 deletions

View File

@@ -156,8 +156,8 @@ namespace Umbraco.Web.WebServices
{
t = new Template(templateId)
{
Text = templateName.CleanForXss(),
Alias = templateAlias.CleanForXss(),
Text = templateName.CleanForXss('[', ']', '(', ')'),
Alias = templateAlias.CleanForXss('[', ']', '(', ')'),
Design = templateContents
};