Reputation: 9929
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.
Upvotes: 0
Views: 93
Reputation: 5155
Server.HtmlEncode() will render them harmless.
Upvotes: 1