Prevent XSS but allow all characters?

Posted by Dr Hydralisk on Stack Overflow See other posts from Stack Overflow or by Dr Hydralisk
Published on 2010-06-16T00:59:41Z Indexed on 2010/06/16 1:02 UTC
Read the original article Hit count: 278

Filed under:
|

How can I prevent XSS but allow any characters to be used? Like I can post HTML code on a forum like <html><body><h1>Test</h1></html>, but it would not be rendered in the browser as html? How can I do this so it does not convert the characters in PHP?

© Stack Overflow or respective owner

Related posts about php

Related posts about xss