]> source.dussan.org Git - nextcloud-server.git/commitdiff
Makes untrusted domain error on info 34454/head
authorAndy Xheli <axheli@axtsolutions.com>
Mon, 29 Aug 2022 18:27:12 +0000 (13:27 -0500)
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>
Thu, 6 Oct 2022 16:28:32 +0000 (16:28 +0000)
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
Since https://github.com/nextcloud/server/commit/e6d9ef2e38daffcab808eaa41b18ab16c6253b97 was applied logs get filled up with Trusted domain error. "X.X.X.X tried to access using "X.X.X.X" as host alot of users missed important errors do tohttps://github.com/nextcloud/server/commit/e6d9ef2e38daffcab808eaa41b18ab16c6253b97   please see https://github.com/nextcloud/server/issues/32599

This should fix.
https://github.com/nextcloud/server/issues/32599#event-7281164903

Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
lib/base.php

index b601e4b19f2e434d1b244b1fd9d31b0825980d17..198a8706192787f926d1f2691b5eb810a142771a 100644 (file)
@@ -795,7 +795,7 @@ class OC {
                        if (!$isScssRequest) {
                                http_response_code(400);
 
-                               \OC::$server->getLogger()->warning(
+                               \OC::$server->getLogger()->info(
                                        'Trusted domain error. "{remoteAddress}" tried to access using "{host}" as host.',
                                        [
                                                'app' => 'core',