Update AntiXSS Protection
This commit is contained in:
parent
27fab29a16
commit
3e5581611c
63 changed files with 636 additions and 183 deletions
|
@ -29,7 +29,6 @@
|
|||
using System;
|
||||
using System.Web.UI.WebControls;
|
||||
using WebsitePanel.EnterpriseServer;
|
||||
using Microsoft.Security.Application;
|
||||
|
||||
namespace WebsitePanel.Portal
|
||||
{
|
||||
|
@ -136,7 +135,7 @@ namespace WebsitePanel.Portal
|
|||
if (result.Result < 0)
|
||||
{
|
||||
ShowResultMessage(result.Result);
|
||||
lblMessage.Text = Microsoft.Security.Application.Encoder.HtmlEncode(GetExceedingQuotasMessage(result.ExceedingQuotas));
|
||||
lblMessage.Text = PortalAntiXSS.Encode(GetExceedingQuotasMessage(result.ExceedingQuotas));
|
||||
return;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue