diff --git a/composer.json b/composer.json index a4ac5f17..3faecfa6 100644 --- a/composer.json +++ b/composer.json @@ -48,7 +48,8 @@ "zendframework/zend-log": "^2.5", "zendframework/zend-mail": "^2.9", "zendframework/zend-psr7bridge": "^1.1", - "zendframework/zend-text": "^2.5" + "zendframework/zend-text": "^2.5", + "zendframework/zend-uri": "^2.7" }, "conflict": { "doctrine/doctrine-orm-module": "<2.1", diff --git a/src/Handler/Logging.php b/src/Handler/Logging.php index f1a81b5a..83254784 100644 --- a/src/Handler/Logging.php +++ b/src/Handler/Logging.php @@ -171,7 +171,6 @@ private function collectErrorExceptionExtraData(array $collectedExceptionData, R } else { Assert::isInstanceOf($request, HttpRequest::class); $uri = $request->getUri(); - $uri->setHost(\strtolower((string) $uri->getHost())); $serverUrl = $uri->getScheme() . '://' . $uri->getHost(); $url = $uri->toString(); }