[Catalyst] Patch to Catalyst::Plugin::SubReq to restore original
	path
    Rusty Conover 
    rconover at infogears.com
       
    Sat Jul 30 09:08:58 CEST 2005
    
    
  
The Catalyst::Plugin::SubRequest code isn't restoring the old path after 
the sub request is complete, the attached one line patch fixes this.
Thanks,
Rusty
-- 
Rusty Conover
InfoGears Inc.
http://www.infogears.com
406-587-5432
-------------- next part --------------
--- SubRequest.pm	2005-06-08 08:53:26.000000000 -0600
+++ /root/fixed.Subrequest.pl	2005-07-30 01:05:15.000000000 -0600
@@ -57,6 +57,7 @@
     my $output  = $c->res->output;
     $c->{stash} = $old_req{stash};
     $c->req->{params}=$old_req{params};
+    $c->req->path($old_req{path});
     $c->req->arguments($old_req{args});
     $c->res->output($old_req{content});
     return $output;
    
    
More information about the Catalyst
mailing list