fixes script editor xss

This commit is contained in:
Shannon
2015-09-09 22:00:29 +02:00
parent d127856726
commit 3a62fb5900

View File

@@ -145,7 +145,7 @@ namespace umbraco.cms.presentation.settings.scripts
ScriptManager.GetCurrent(Page).Services.Add(new ServiceReference("../webservices/legacyAjaxCalls.asmx"));
//Clean the name field for xss
NameTxt.Text = NameTxt.Text.CleanForXss(ignoreFromClean: '\\');
NameTxt.Text = NameTxt.Text.CleanForXss('\\', '/');
}
}