From: Tomas Doran Date: Wed, 13 May 2009 16:30:50 +0000 (+0000) Subject: Fix ->engine->env for the dev server. Catalyst-Plugin-ENV to please to be dieing... X-Git-Tag: 5.80004~26 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=8317b3d156ffc23e76f7eef542a1887ccbac1f8c Fix ->engine->env for the dev server. Catalyst-Plugin-ENV to please to be dieing in a fire, kthnx? --- diff --git a/Changes b/Changes index 349fc63..3a02976 100644 --- a/Changes +++ b/Changes @@ -10,6 +10,8 @@ noted by dmaki. (t0m) - Fix so that / (and other special characters) are URL encoded when passed into $c->uri_for as Args/CaptureArgs (t0m) + - Fix development server so that $c->engine->env returns the correct + environment (t0m) 5.80003 2009-04-29 16:23:53 - Various POD tweaks. (hdp, dandv) diff --git a/lib/Catalyst/Engine/HTTP.pm b/lib/Catalyst/Engine/HTTP.pm index 62481ea..72de12c 100644 --- a/lib/Catalyst/Engine/HTTP.pm +++ b/lib/Catalyst/Engine/HTTP.pm @@ -388,7 +388,7 @@ sub _handler { # this far out, but then again it's only the dev server anyway. local $SIG{CHLD} = 'DEFAULT'; - $class->handle_request; + $class->handle_request( env => \%ENV ); } DEBUG && warn "Request done\n";