FE: Hardening

This commit is contained in:
jokob-sk committed 2026-10-13 16:54:18 +11:00
1 parent 90f2714639
commit 7795037843
3 files changed
+4 -2

No files matched your search

@@ -17,6 +17,8 @@ global $configFolderPath;
// Handle incoming requests
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
requireCsrfToken();
$base64Data = $_POST['base64data'] ?? null;
if (!$base64Data) {
http_response_code(400);