[Web] Minor hardening across web UI and nginx

This commit is contained in:
FreddleSpl0it
2026-08-18 09:08:17 +02:00
parent b362c7105d
commit 91d3b7246a
5 changed files with 16 additions and 7 deletions
+1 -1
View File
@@ -591,7 +591,7 @@ function logger($_data = false) {
$type = $return['type'];
$msg = null;
if (isset($return['msg'])) {
$msg = json_encode($return['msg'], JSON_UNESCAPED_UNICODE);
$msg = json_encode($return['msg'], JSON_UNESCAPED_UNICODE | JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | JSON_HEX_QUOT);
}
$call = null;
if (isset($return['log'])) {