[Catalyst] What do you guys use for sanitizing HTML input

Zbigniew Lukasiak zzbbyy at gmail.com
Sun Jul 19 08:15:10 GMT 2009


Hi,

There seems to be a log list of HTML sanitizers at CPAN and no guide.
So I quickly made a list at the P5P wiki:
http://www.perlfoundation.org/perl5/index.cgi?html_sanitazing and I am
asking here what are your experiences with that subject.

Myself, I sometime ago I've wrote a sanitizer for HTML::FormHandler
based on HTML::Scrubber - but it seems that there are problems with
installing it so it never got into the HTML::FormHandler repository.
I noticed that there is a new HTML sanitizer bundled with Mojo:
http://search.cpan.org/~mramberg/MojoMojo-0.999030/lib/HTML/Declaw.pm
by our own Marcus Ramberg.  The POD says it is a modifed version of
HTML::Defang - but there is no clue as to what was really modified and
why it is a fork.

-- 
Zbigniew Lukasiak
http://brudnopis.blogspot.com/
http://perlalchemy.blogspot.com/



More information about the Catalyst mailing list