diff --git a/src/RouteFactory.php b/src/RouteFactory.php
index <HASH>..<HASH> 100644
--- a/src/RouteFactory.php
+++ b/src/RouteFactory.php
@@ -46,8 +46,6 @@ class RouteFactory implements RouteFactoryInterface
 	 */
 	public function create(RouteInterface $route, $url, $method, $action)
 	{
-		$url  = preg_replace('/\?.*/', '', $url);
-
 		$this->validator->validateUrl($url);
 		$this->validator->validateMethod($method);
 		$this->validator->validateAction($action);
Update RouteFactory.php