Subject: | %ENV hash empty, confuses CGI::Cookie |
CGI::PSGI sets up the %ENV hash temporarily, only to let GGI.pm
initialize the query object properly. But CGI::Cookie->get_raw_cookie,
which is internally called by CGI::Cookie->fetch to fetch cookies from
the request, directly traverses the %ENV hash to get the cookies. This
breaks CGI::Application::Plugin::Authentication::Store::Cookie, which
can never get hold of a cookie. CGI::Application::PSGI::run should
probably do something like 'local $ENV{HTTP_COOKIE} =
$env->{HTTP_COOKIE};' before calling CGI::Applicatiion::run.