mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-22 07:30:23 +00:00
Merge pull request #1395 from RaspAP/security/sanitize-ajax-posts
Sanitize post with escapeshellcmd()
This commit is contained in:
commit
10637efee3
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue