[Catalyst] Catalyst without template

Dave Gray yargevad at gmail.com
Tue May 22 04:13:30 GMT 2007


Hi Dmitri,

On 5/17/07, Dmitri Pissarenko <dmitri.pissarenko at gmail.com> wrote:
> sub buttonPressed : Local {
>     my ( $self, $c ) = @_;
>
>     my $name     = $c->request->params->{name};
>
>     $c->res->write("Hello " . $name . ", welcome to the world of Dojo!\n");
> }

This is basically the definition of an XSS vulnerability, I hope this
isn't production code!

Dave



More information about the Catalyst mailing list