Sanitize log input

This commit is contained in:
2026-01-05 18:20:12 +01:00
parent 68b23ee190
commit 7c0b3eaff1
8 changed files with 41 additions and 25 deletions

View File

@@ -349,8 +349,8 @@
</div>
</div>
<script th:inline="javascript">
const broadcaster = /*[[${broadcaster}]]*/ '';
const username = /*[[${username}]]*/ '';
const broadcaster = /*[[${broadcaster}]]*/ "";
const username = /*[[${username}]]*/ "";
const UPLOAD_LIMIT_BYTES = /*[[${uploadLimitBytes}]]*/ 0;
const SETTINGS = JSON.parse(/*[[${settingsJson}]]*/);
</script>