Hideo Kimura

NAME

Catalyst::Plugin::HTML::Scrubber - Catalyst plugin for scrubbing/sanitizing html

SYNOPSIS

    use Catalyst qw[HTML::Scrubber];

    MyApp->config( 
        scrubber => [
            default => 0,
            comment => 0,
            script => 0,
            process => 0,
            allow => [qw [ br hr b a h1]],
        ],
   );

DESCRIPTION

On request, sanitize HTML tags in all params.

EXTENDED METHODS

setup

You can use options of HTML::Scrubber.

prepare_parameters

Sanitize HTML tags in all parameters.

html_scrub

Sanitize HTML tags in all parameters.

SEE ALSO

Catalyst, HTML::Scrubber.

AUTHOR

Hideo Kimura, <hide@hide-k.net<gt>

COPYRIGHT AND LICENSE

Copyright (C) 2005 by Hideo Kimura

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.




Hosting generously
sponsored by Bytemark