Sanitize post with escapeshellcmd()

This commit is contained in:
billz 2023-09-17 16:33:23 +02:00
parent 3575d1d185
commit e87e7d1d3a

View file

@ -3,7 +3,7 @@
require '../../includes/csrf.php';
require_once '../../includes/config.php';
$entity = $_POST['entity'];
$entity = escapeshellcmd($_POST['entity']);
if (isset($entity)) {