Skip to content

Commit 12c8123

Browse files
author
Andy Xheli
authoredAug 29, 2022
Makes untrusted domain error on info
Signed-off-by: Andy Xheli <axheli@axtsolutions.com> Since e6d9ef2 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 #32599 This should fix. #32599 (comment) Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
1 parent d7deeb4 commit 12c8123

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/base.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ public static function init() {
802802
if (!$isScssRequest) {
803803
http_response_code(400);
804804

805-
\OC::$server->getLogger()->warning(
805+
\OC::$server->getLogger()->info(
806806
'Trusted domain error. "{remoteAddress}" tried to access using "{host}" as host.',
807807
[
808808
'app' => 'core',

0 commit comments

Comments
 (0)