How to remove dangerous characters(ie script tags)?
Posted
by chobo2
on Stack Overflow
See other posts from Stack Overflow
or by chobo2
Published on 2010-06-02T22:18:09Z
Indexed on
2010/06/02
22:24 UTC
Read the original article
Hit count: 247
I am wondering is there any sort of C# class or 3rd party library that removes dangerous characters such as script tags?
I know you can use regex but I also know people can write their script tags so many ways that you can fool the regex into thinking it is OK.
I also heard that HTML Agility Pack is good so I am wondering is there any script removal class made for it?
© Stack Overflow or respective owner