Welcome to Geeklog Thursday, November 23 2017 @ 09:17 pm EST

safeHtmlChecker.class

  • Contributed by:
  • Views: 3,835
Security

Anyone who's paranoid about HTML in user comments, cross-site scripting attacks, or even just me coming along and covering up your site logo with nasty images should look at Simon Willison's SafeHtmlChecker php class. Elegant solution (and it'll help with XHTML validation too).