We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
OCP\Server
1 parent e29d41d commit c2cf24cCopy full SHA for c2cf24c
lib/private/AppFramework/Http/Request.php
@@ -660,7 +660,7 @@ public function getServerProtocol(): string {
660
661
if ($proto !== 'https' && $proto !== 'http') {
662
// log unrecognized value so admin has a chance to fix it
663
- \OC::$server->get(LoggerInterface::class)->critical(
+ \OCP\Server::get(LoggerInterface::class)->critical(
664
'Server protocol is malformed [falling back to http] (check overwriteprotocol and/or X-Forwarded-Proto to remedy): ' . $proto,
665
['app' => 'core']
666
);
0 commit comments