From cdc0689b2b32fb82e7ddbf905dc3f2cf2e407949 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Thu, 28 Feb 2019 09:47:05 +0700 Subject: [PATCH] update zend-uri requirement to use ^2.7 for strtolower host --- composer.json | 3 ++- src/Handler/Logging.php | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) 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(); }