mirror of
https://github.com/nextcloud/server.git
synced 2026-03-21 10:00:33 -04:00
Makes untrusted domain error a warning.
It sends a 400 to the client, so I could even argue that it should be an error. But currently as an admin, I'm quiet surprised that I get a 400 in the UI, and nothing in the log with the default level. I saw this commit that explains the reason why info. But I disagree. Feel free to close the PR if you don't agree with it. Signed-off-by: Pierre Ozoux <pierre@ozoux.net>
This commit is contained in:
parent
562c573005
commit
e6d9ef2e38
1 changed files with 1 additions and 1 deletions
|
|
@ -775,7 +775,7 @@ class OC {
|
|||
if (!$isScssRequest) {
|
||||
http_response_code(400);
|
||||
|
||||
\OC::$server->getLogger()->info(
|
||||
\OC::$server->getLogger()->warning(
|
||||
'Trusted domain error. "{remoteAddress}" tried to access using "{host}" as host.',
|
||||
[
|
||||
'app' => 'core',
|
||||
|
|
|
|||
Loading…
Reference in a new issue