abh/HTML-Mason-PSGIHandler — Issue #9: GET and POST args not merged
Author: hickory
Created: 2011-10-28 19:41:42+00:00
State: open

On a form post, when argument are passed as a query_string on the form action:

The query string args are not merged with the post arguments.

It looks like this is happening because HTML::Mason::Utils::cgi_request_args (called by FakeApache->params) expects $ENV{'QUERY_STRING'} to be set.

Not really sure what the best solution for this is. My workaround entails simply setting ENV to the passed psgi env

local *ENV = $env;

in handle_psgi before invoke_mason is called, probably not the best solution. Let me know if you need more info or I should direct this elsewhere. Thanks.