[pmwiki-users] cookbook security advide needed

noskule noskule at gmx.net
Tue May 6 04:41:20 CDT 2008

hi list
I work on a cookbook script for generating css via php.

So the admin can save ptv's on a wikipage. The script get's the ptv and 
generates the css.
What is the best way to prevent submitting malicious code like 
javascript. Is there a standard or  common used filter function for 
that.  The filter should accept the css syntax bot nothing more. Example:

1px solid red

thanks for any hints

More information about the pmwiki-users mailing list