mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Sanitize post with escapeshellcmd()
This commit is contained in:
parent
3575d1d185
commit
e87e7d1d3a
@ -3,7 +3,7 @@
|
|||||||
require '../../includes/csrf.php';
|
require '../../includes/csrf.php';
|
||||||
require_once '../../includes/config.php';
|
require_once '../../includes/config.php';
|
||||||
|
|
||||||
$entity = $_POST['entity'];
|
$entity = escapeshellcmd($_POST['entity']);
|
||||||
|
|
||||||
if (isset($entity)) {
|
if (isset($entity)) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user