Skip to content

Commit

Permalink
Merge pull request #4933 from dnnsoftware/revert-4930-noscriptmsg
Browse files Browse the repository at this point in the history
Revert "No module message should be able to contain any scripts"
  • Loading branch information
david-poindexter committed Dec 2, 2021
2 parents b6fb82d + cae9a5a commit 7f8df16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DNN Platform/Library/UI/Skins/Skin.cs
Expand Up @@ -299,7 +299,7 @@ public static ModuleMessage GetModuleMessageControl(string heading, string messa
var s = new Skin();
var moduleMessage = (ModuleMessage)s.LoadControl("~/admin/skins/ModuleMessage.ascx");
moduleMessage.Heading = heading;
moduleMessage.Text = new Security.PortalSecurity().InputFilter(message, Security.PortalSecurity.FilterFlag.NoScripting);
moduleMessage.Text = message;
moduleMessage.IconImage = iconImage;
moduleMessage.IconType = moduleMessageType;
return moduleMessage;
Expand Down

0 comments on commit 7f8df16

Please sign in to comment.