Skip to content

Commit

Permalink
Makes untrusted domain error on info
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andy Xheli authored and backportbot-nextcloud[bot] committed Oct 6, 2022
1 parent 3aabb38 commit b5f330f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ public static function init() {
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',
Expand Down

0 comments on commit b5f330f

Please sign in to comment.