mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-22 09:13:26 +00:00
[Web] Fix invalid encodings with json_encode, fixes #3847
This commit is contained in:
4 files changed
+60
-8
No files matched your search
@@ -197,7 +197,9 @@ elseif (!empty($_GET['id']) && ctype_alnum($_GET['id'])) {
|
||||
exit;
|
||||
}
|
||||
}
|
||||
$data = mb_convert_encoding($data, "UTF-8", "auto");
|
||||
echo json_encode($data);
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
Reference in new issue
Block a user