Chevy Posted April 3, 2011 Share Posted April 3, 2011 Hello all! I have been trying for days to get HTML purifier to filter my CSS, with no prevail at all. Do you guys recommend any certain way to filter user inputted CSS style sheets? Any filter to use? Quote Link to comment https://forums.phpfreaks.com/topic/232562-securing-css-via-php/ Share on other sites More sharing options...
cssfreakie Posted April 3, 2011 Share Posted April 3, 2011 I would be interested in that too. maybe write a blacklist and do a pregreplace. Or limit the types of characters they may use. Or use html_entities on the style sheet. But never tried it really. Quote Link to comment https://forums.phpfreaks.com/topic/232562-securing-css-via-php/#findComment-1196226 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.