Skip to content

Commit

Permalink
update zend-uri requirement to use ^2.7 for strtolower host
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Feb 28, 2019
1 parent ec31c7b commit cdc0689
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 0 additions & 1 deletion src/Handler/Logging.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit cdc0689

Please sign in to comment.