asp.net - HTML Encoding with TinyMCE -


I am using tinysay on my asp.net web site for posting comments.
I have to make sure that the input is before I insert it into DB.

The TinyMce client encodes its HTML on the side. # In my other questions, people have suggested that the encoding should be done on the server side and not in the customer side.

What can I use on the server side to make sure the input is secure?
I just can not use the HttpServerUtility.HtmlEncode method because it will ruin the content of TinyMce. Check the codeplacks that clean up "Antivirus" and "HTML" capabilities in the < Does.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -