HTML Purifier: Standard cross-site scripting prevention library
Fri, 03/13/2009 - 06:53
Folks,
QCubed includes a bunch of hacky code for cross-site scripting prevention. I think we should switch over to a standard library to do this work: HTML Purifier looks promising (http://htmlpurifier.org/). What do you think?
Thanks!

I seems to be an interesting project and the license is LGPL, so quite compatible with the MIT of QCubed.
Unfortunately I am not so good in this field, but I like your proposal.
I'm semi-wary about including LGPL in core, but a separate download for it shouldn't be an issue.
As such I'd be all for tearing out the existing input validation code and requiring those who want validation to use HTML Purifier exclusively. It has been my choice of validation classes for some time.
Thanks for posting this Alex as I was completely unaware of it's existence. I will definitely be pushing the usage of this at my work and I think I may also try to do some integration work on it :-)
You have my vote for HTML Purifier!
=-)
HTML purifier seems really nice, I'd be happy to see it integrated with Qcubed.
I think the licensing issue just came up again :P
If someone can help, please tell us if LGPL and MIT licenses are compatible.