Browse Source

Update Core\Log

Do not log cookies.
Visman 4 years ago
parent
commit
21e1e40e0e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Core/Log.php

+ 1 - 0
app/Core/Log.php

@@ -103,6 +103,7 @@ class Log implements LoggerInterface
                     if (
                         'HTTP_' === \substr($key, 0, 5)
                         && 'HTTP_USER_AGENT' !== $key
+                        && 'HTTP_COOKIE' !== $key
                     ) {
                         $add[$key] = $value;
                     }