From 7993a7826458b40589b21f3d88606f27d69371ea Mon Sep 17 00:00:00 2001 From: Lonnie Ezell Date: Wed, 19 Dec 2018 22:32:00 -0600 Subject: [PATCH] Final piece to get translateURIDashes working appropriately. Fixes #1564 --- system/Router/Router.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/Router/Router.php b/system/Router/Router.php index fb5e8871a157..d4da6c8a24d9 100644 --- a/system/Router/Router.php +++ b/system/Router/Router.php @@ -164,6 +164,8 @@ public function __construct(RouteCollectionInterface $routes) */ public function handle(string $uri = null) { + $this->translateURIDashes = $this->collection->shouldTranslateURIDashes(); + // If we cannot find a URI to match against, then // everything runs off of it's default settings. if (empty($uri))