X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FEngine%2FCGI.pm;h=950cc2d709cdddd972c6b47d8f421001677baf5f;hb=f81097665c9a71971e5355c9d8331d9a9f9ba305;hp=847209f9871ebd763a76f3035b3d682671b276e4;hpb=4f5ebacdba8bc446f80d0e8999d117d80f9d2c98;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Engine/CGI.pm b/lib/Catalyst/Engine/CGI.pm index 847209f..950cc2d 100644 --- a/lib/Catalyst/Engine/CGI.pm +++ b/lib/Catalyst/Engine/CGI.pm @@ -4,7 +4,6 @@ use strict; use base 'Catalyst::Engine'; use NEXT; use URI; -use URI::Query; =head1 NAME @@ -156,9 +155,10 @@ sub prepare_path { sub prepare_query_parameters { my ( $self, $c ) = @_; - - my $u = URI::Query->new( $ENV{QUERY_STRING} ); - $c->request->query_parameters( { $u->hash } ); + + if ( $ENV{QUERY_STRING} ) { + $self->SUPER::prepare_query_parameters( $c, $ENV{QUERY_STRING} ); + } } =item $self->prepare_write($c)