snowfrost80
New member
- Joined
- Sep 3, 2019
- Messages
- 1
- Programming Experience
- Beginner
The following codes are flagged out in my cs file by Fortify even after I have added the AntiXss. May I know how do I resolve this?
C#:
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
lblMessage.Text = txtEmail.Text =
System.Web.Security.AntiXss.AntiXssEncoder.HtmlEncode(string.Empty,true);
}
}