Does GetSimple have a built in HTML purifier? - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Does GetSimple have a built in HTML purifier? (/showthread.php?tid=4301) |
Does GetSimple have a built in HTML purifier? - WebDevandPhoto - 2013-02-13 I'm looking at adding user input in my theme plugin to allow html code as admin cp input for parts of my template... Doing so I'll want to use a html purifier to clean the input incase someone tries to input some uber html garbage in their site (and my theme)... I was looking at this php library: http://htmlpurifier.org/ But does GetSimple already have a built in HTML purifier I can hook into / use? thank! RE: Does GetSimple have a built in HTML purifier? - n00dles101 - 2013-02-13 This could easily be setup as a plugin and filters. RE: Does GetSimple have a built in HTML purifier? - Connie - 2013-02-13 you can define which HTML elements should be deleted by CKEDITOR when the user enters this input in the editor area but this is kind of "client-wise" sanitation ;=) RE: Does GetSimple have a built in HTML purifier? - shawn_a - 2013-02-13 No I am asking for input on this in github right now actually RE: Does GetSimple have a built in HTML purifier? - rezfill - 2013-02-15 GetSimple has the ability to perform a simple "Undo" on just about every action. Combined with our intuitive UI makes for a great web editing user experience. RE: Does GetSimple have a built in HTML purifier? - WebDevandPhoto - 2013-02-15 @rezfil yea but I need a way to sanitize html code before it's saved. Specifically during plugin settings user input, a check before saving. RE: Does GetSimple have a built in HTML purifier? - shawn_a - 2013-02-16 https://github.com/GetSimpleCMS/GetSimpleCMS/issues/518 RE: Does GetSimple have a built in HTML purifier? - WebDevandPhoto - 2013-02-16 AH! Thank you shawn, I'll check this out http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/index.php on GPLv2+ |