HTML Encoding with ASP.NET

Posted by Corin on Stack Overflow See other posts from Stack Overflow or by Corin
Published on 2010-06-07T18:09:43Z Indexed on 2010/06/07 18:22 UTC
Read the original article Hit count: 259

Filed under:
|
|

I am currently html encoding all user entered text before inserting/updating a db table record. The problem is that on any subsequent updates, the previously encoded string is reencoded. This endless loop is starting to eat up alot of column space in my tables. I am using parameterized queries for all sql statements but am wondering would it be safe to just let the .NET Framework handle this part without the HTML Encoding?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about html