Update Core\Log

Do not log cookies.
This commit is contained in:
Visman 2021-01-19 00:46:06 +07:00
parent 62a9d25991
commit 21e1e40e0e

View file

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