McAfee secure scan is telling me that my site has the possibility of an injection attack. I have an email signup in my footer that I want to use to sign people up to our list IF they are not on any other email list already... Here is the code that causes the error....
Code: Select all
string email = UserEmail.Text;
if (!emailList.IsMember(email) && EmailListUserDataSource.CountForCriteria("Email = '" + email + "'") == 0 && email.Contains("@"))
{
emailList.ProcessSignupRequest(email);
}
Thanks for the help!
Scott