Quick fix for issue tracker #315
- AntiXSS Library upgraded from version 1.5 to 4.2.1 - WebPortal web.config changed to force framework to use AntiXSS - obsolete AntiXss.HtmlEncode calls replaced with Microsoft.Security.Application.Encoder.HtmlEncode
This commit is contained in:
parent
141efa1b1b
commit
29c1a54382
23 changed files with 41 additions and 41 deletions
|
@ -387,7 +387,7 @@ namespace WebsitePanel.WebPortal
|
|||
{
|
||||
Label lbl = new Label();
|
||||
lbl.Text =
|
||||
AntiXss.HtmlEncode("<div style=\"height:300px;overflow:auto;\">" + message.Replace("\n", "<br>") +
|
||||
Microsoft.Security.Application.Encoder.HtmlEncode("<div style=\"height:300px;overflow:auto;\">" + message.Replace("\n", "<br>") +
|
||||
"</div>");
|
||||
lbl.ForeColor = Color.Red;
|
||||
lbl.Font.Bold = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue