0

My application has lot of cross site scripting vulnerablities. I need a common C# function so that will avoid\eliminate all the cross site scripts.

web dunia
  • 9,381
  • 18
  • 52
  • 64

1 Answers1

1

Server.HtmlEncode() will render them harmless.

nw.
  • 4,795
  • 8
  • 37
  • 42