[Catalyst] Engine/CGI and query+post params

Michael Reece mreece at sacbee.com
Tue Apr 12 23:15:33 CEST 2005


Sorry, 4.34 aka the one on CPAN.

When do you expect Cat5 might be stable enough to release to CPAN?

And, speaking of Cat5, maybe you can tell me if this has changed in the new
version.  

In Cat4, C::Plugin::Authentication::CDBI sets $c->request->{user} to the
username, rather than the user object ( from $user_class->search(..) ).  I
found that to be ultimately useless, and changed it put the user object in
there instead, so my templates can make use of the user's preferences and
other bits from their db record.  Anything in the Authentication, such as
that, changing in Cat5?

thanks

On 4/12/05 11:56 AM, "Sebastian Riedel" <sri at oook.de> wrote:

> 
> 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