Forum Moderators: coopster

Message Too Old, No Replies

HTMLpurifier

have you ever used it?

         

henry0

4:58 pm on Apr 6, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



As I am customizing a large autions site section I found that they use HTMLPURIFIER from: [htmlpurifier.org ]
Obviously it cleans :) anti XSS etc...
but is quite heavy almost 2meg
Has anyone used it?
What's your feeling
I searched here and found only one ref answered by dreamcatcher in 2009.

eelixduppy

7:23 pm on Apr 6, 2011 (gmt 0)



Seems it also validates the markup somehow. Personally I just use [us2.php.net...] for output and call it quits. =]

henry0

8:45 pm on Apr 6, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I agree, but in my case not using it will call for too large a number of file mods and rebuilds
I am just curious about it as it is my first encounter with it.

Tommybs

9:28 pm on Apr 6, 2011 (gmt 0)

10+ Year Member



I've used it before, there are a lot of customisation options about what tags and elements on those tags you want to allow.
I believe there's a caching option available in it as well. Then again I haven't made enough high traffic sites to see if it's size is an issue

henry0

10:20 pm on Apr 6, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



No size is not a problem, as my server has plenty space.
just wondering about the foot print of it (like how fast it does its job)
Well, I could test it, but live experience from users is even better.
<edit> reason: fixed a typo, among more I don't see!</edit>