John Krystynak wrote:
In my Maypole app, I want my form inputs to not allow html.I'm trying to do something like: BeerDB::Beer->untaint_columns( html => [qw/abv name price notes/], integer => [qw/style brewery score/], date => [ qw/date/], ); but I can't get the html handler to be recognized. The form prints: "Can't find extraction handler for html" What's the right way to use the Untaint plugin for additional fields like html, phone, IPaddr, etc?
CGI::Untaint needs a 'handler' of its own for any new type of data. In this case, it looks like you want CGI::Untaint::html. Have you installed that module?
Cheers, Dave -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.19/93 - Release Date: 08/09/05 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Maypole-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/maypole-users
