[Catalyst] Engine/CGI and query+post params

Sebastian Riedel sri at oook.de
Tue Apr 12 21:56:18 CEST 2005


Am 12.04.2005 um 22:34 schrieb Michael Reece:

> Is there a way to get Catalyst::Engine::CGI to include both ?query and 
> POST
> parameters in $c->req->params?
>
> When I run my app under mod_perl, and have a <form action="foo?bar=baz"
> method="POST">, then I can get both $c->req->params->{bar} plus any 
> posted
> form values.
>
> However, when I run ./scripts/server.pl, I do not get the query vars, 
> only
> the posted vars.
>
> This is probably a limitation of CGI::Simple and I am out of luck, but 
> I
> thought I would throw it out there and see if anyone has any ideas.

It would be helpful to know which version you're talking about!
Since Catalyst5 got a whole new set of engines. (CGI::Simple for 
example is completely gone)...

--
sebastian




More information about the Catalyst mailing list