
Chirs - 2007-08-08 08:49:59
I just made a simple form with the following in the text area:
I like <div good="blah" bad=blah>php</div> but not <br> XSS <img src=javascript:alert('bad!')>
When I output the data after validation, it still prints the same thing WITHOUT filtering out the "bad" stuff. Do I need to do this "cleaning" using some other functions?