Skip to content

Commit fc0e7ba

Browse files
committed
Forgot to escape that
Whoopsies
1 parent df0d6c1 commit fc0e7ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/api/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
$i++;
4343
if (!empty($_POST['arg' . $i]))
4444
{
45-
$args[] = $_POST['arg' . $i];
45+
$args[] = escapeshellarg($_POST['arg' . $i]);
4646
continue;
4747
}
4848
break;

0 commit comments

Comments
 (0)