YAPC::Europe 2011 in Riga

YAPC::Europe 2011 “Modern Perl”

Twitter #ye2011    RSS       Log in

Sanitizing HTML 5 with Perl 5

By Uwe Voelker (‎Perl-Uwe‎) from Hamburg.pm
Date: Tuesday, 16 August 2011 15:20
Duration: 20 minutes
Target audience: Intermediate
Language:
Tags: html


At work (XING.com) I wrote an HTML sanitizer for our WYSIWIG editor. It is based on whitelisting.

Both components (the backend HTML5::Sanitizer and the frontend Javascript part) share the same profiles (whitelists).

The perl part is available here: https://github.com/xing/html5-sanitizer, the javascript part here: https://github.com/xing/wysihtml5.

Attended by: