179b850e4d
PHP's json_encode only accept proper UTF-8 strings, loop over all elements to ensure that they are properly UTF-8 compliant or convert them manually. Without this somebody passing an invalid User Agent may make json_encode return false which will get logged as empty newline. Signed-off-by: Lukas Reschke <lukas@statuscode.ch> |
||
---|---|---|
.. | ||
ErrorHandler.php | ||
Errorlog.php | ||
File.php | ||
Rotate.php | ||
Syslog.php |