Skip to content

Commit

Permalink
Merge pull request #3900 from caswell-wc/request-from-filters
Browse files Browse the repository at this point in the history
Handling requests sent back from filters
  • Loading branch information
MGatner authored Jan 18, 2021
2 parents 734aef0 + aae05ab commit 819480a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions system/CodeIgniter.php
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,11 @@ protected function handleRequest(?RouteCollectionInterface $routes, Cache $cache
{
return $returnResponse ? $possibleResponse : $possibleResponse->pretend($this->useSafeOutput)->send();
}

if ($possibleResponse instanceof Request)
{
$this->request = $possibleResponse;
}
}

$returned = $this->startController();
Expand Down

0 comments on commit 819480a

Please sign in to comment.