diff options
author | Andy Xheli <axheli@axtsolutions.com> | 2022-08-29 21:27:12 +0300 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2022-10-06 19:28:32 +0300 |
commit | b5f330fc943897b6c125211c4bef876b535d93cf (patch) | |
tree | 576acc8fa9f063622321c86e9d0b8edddeea48e9 /lib | |
parent | 3aabb381b9e7ffc5b13f951b8fb89494fe903a2c (diff) |
Makes untrusted domain error on infobackport/33737/stable24
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>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/base.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php index b601e4b19f2..198a8706192 100644 --- a/lib/base.php +++ b/lib/base.php @@ -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', |