I'm working with comment section page which allows user to input messages and I would like to know how to bypass and capture the data even if the user inputs an html element without any errors...Thanks.
Asked
Active
Viewed 48 times
0
-
Does [this answer](http://stackoverflow.com/a/4759693/326543) give you a hint? – Srikanth Venugopalan Mar 24 '13 at 15:32
-
`comment = comment.Replace("<", "<").Replace(">", ">");` might be a start... for URLs there is something like UrlEncode/UrlDecode. There should be something similar for HTML. – Corak Mar 24 '13 at 15:34