Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Does GetSimple have a built in HTML purifier?
#1
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! Smile
Reply
#2
This could easily be setup as a plugin and filters.
My Github Repos: Github
Website: DigiMute
Reply
#3
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 ;=)
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#4
No I am asking for input on this in github right now actually
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#5
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.
Reply
#6
@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.
Reply
#7
https://github.com/GetSimpleCMS/GetSimpleCMS/issues/518
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#8
AH! Thank you shawn,
I'll check this out http://www.bioinformatics.org/phplabware.../index.php on GPLv2+
Reply




Users browsing this thread: 2 Guest(s)