Thanks Maxxim for ur reply.
I've figured out what I was missing; user comments are being encoded into HTML while being displayed back to the browser, thats what we need to avoid scripting attacks. And I guess you are rite,Forums posts are encoded by FCKeditor.
Sorry,I was using a wrong word, we don't have to "decode" the user content, we "encode" user content into HTML while displaying it back to the browser.
|