diff options
author | dweller <dweller@cabin.digital> | 2024-03-12 01:36:42 +0200 |
---|---|---|
committer | dweller <dweller@cabin.digital> | 2024-03-12 01:36:42 +0200 |
commit | 00d13178df1b85d621f1789a50feb89e06217143 (patch) | |
tree | 997d1cab37509caa0bd597515ced4ff157f15a66 /common.php | |
parent | 3bfe2491e5930d40ef7691bea17c19a9ec64719a (diff) |
if using older PHP version (like 7), the default flags for htmlspecialchars() are suboptimal, _sigh_HEADmaster
Diffstat (limited to 'common.php')
-rw-r--r-- | common.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -20,6 +20,7 @@ $section = trim($_GET['section'] ?? null); $arch = trim($_GET['arch'] ?? null); + $hsc_flags = ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401; /* function dbg_print($data) |