Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Makes untrusted domain error on info
Signed-off-by: Andy Xheli <[email protected]>

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 <[email protected]>
  • Loading branch information
Andy Xheli authored and backportbot-nextcloud[bot] committed Oct 6, 2022
commit 1921685e4e3f601852be1fe90c9578704f76b728
2 changes: 1 addition & 1 deletion lib/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,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