Commit 6a2a01fb authored by byron jones (glob)'s avatar byron jones (glob) Committed by Frédéric Buclin

Bug 521416: Some web servers fail to set the QUERY_STRING parameter

r/a=mkanat
parent ed9e593a
......@@ -308,6 +308,9 @@ sub param {
if (!scalar(@result)
&& $self->request_method && $self->request_method eq 'POST')
{
# Some servers fail to set the QUERY_STRING parameter, which
# causes undef issues
$ENV{'QUERY_STRING'} = '' unless exists $ENV{'QUERY_STRING'};
@result = $self->SUPER::url_param(@_);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment