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

2009-07-19 Thread Zbigniew Lukasiak
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

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

2009-07-19 Thread Devin Austin
HTML::StripScripts is nice On Sun, Jul 19, 2009 at 2:15 AM, Zbigniew Lukasiak zzb...@gmail.com wrote: 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

[Catalyst] add_columns()

2009-07-19 Thread Octavian Râşniţă
Hi, In DBIx::Class::ResultSource.pm's POD documentation I read: add_columns ... Adds columns to the result source. If supplied key = hashref pairs, uses the hashref as the column_info for that column. Repeated calls of this method will add more columns, not replace them. But in

Re: [Catalyst] add_columns()

2009-07-19 Thread Moritz Onken
Am 19.07.2009 um 13:21 schrieb Octavian Râşniţă: Hi, In DBIx::Class::ResultSource.pm's POD documentation I read: add_columns ... Adds columns to the result source. If supplied key = hashref pairs, uses the hashref as the column_info for that column. Repeated calls of this method

[Catalyst] Catalyst tutorial

2009-07-19 Thread Octavian Râşniţă
In Catalyst::Manual::Tutorial::04_BasicCRUD.pod I read that we need to specify the ResultSet classes we want to use with: __PACKAGE__-resultset_class('MyApp::Schema::ResultSet::Book'); I've seen that it works even without it. Is this line really needed? Octavian

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

2009-07-19 Thread J. Shirley
On Sun, Jul 19, 2009 at 1:29 AM, Devin Austin devin.aus...@gmail.comwrote: HTML::StripScripts is nice On Sun, Jul 19, 2009 at 2:15 AM, Zbigniew Lukasiak zzb...@gmail.comwrote: 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