Skip to content

Commit 819480a

Browse files
authored
Merge pull request #3900 from caswell-wc/request-from-filters
Handling requests sent back from filters
2 parents 734aef0 + aae05ab commit 819480a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

system/CodeIgniter.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,11 @@ protected function handleRequest(?RouteCollectionInterface $routes, Cache $cache
407407
{
408408
return $returnResponse ? $possibleResponse : $possibleResponse->pretend($this->useSafeOutput)->send();
409409
}
410+
411+
if ($possibleResponse instanceof Request)
412+
{
413+
$this->request = $possibleResponse;
414+
}
410415
}
411416

412417
$returned = $this->startController();

0 commit comments

Comments
 (0)