Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion system/Router/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class Router implements RouterInterface
* The filter info from Route Collection
* if the matched route should be filtered.
*
* @var string
* @var string|null
*/
protected $filterInfo;

Expand Down Expand Up @@ -175,6 +175,9 @@ public function handle(string $uri = null)
// Decode URL-encoded string
$uri = urldecode($uri);

// Restart filterInfo
$this->filterInfo = null;

if ($this->checkRoutes($uri))
{
if ($this->collection->isFiltered($this->matchedRoute[0]))
Expand Down