From 79e4ebb6a3d771472d93fb8f08c2a787b5352a43 Mon Sep 17 00:00:00 2001 From: Stevan Little Date: Sat, 12 Feb 2011 22:03:30 -0500 Subject: clear the query before setting the plack.proxy.remote --- lib/Plack/Client/Backend/http.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Plack/Client/Backend/http.pm b/lib/Plack/Client/Backend/http.pm index 542c2ce..2d53811 100644 --- a/lib/Plack/Client/Backend/http.pm +++ b/lib/Plack/Client/Backend/http.pm @@ -54,6 +54,7 @@ sub app_from_request { my $uri = $req->uri->clone; $uri->path('/'); + $uri->query(undef); $req->env->{'plack.proxy.remote'} = $uri->as_string; return $self->_proxy; } -- cgit v1.2.3-54-g00ecf