Disallow escapeshellcmd, prefer escapeshellarg

This commit is contained in:
2022-02-25 18:56:15 +01:00
parent 280bb553b8
commit 8018f7309a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -126,7 +126,7 @@
<element key="sizeof" value="count"/>
</property>
-->
<property name="forbiddenFunctions" type="array" value="delete=>unset,print=>echo,create_function=>null,system=>null,sizeof=>count" />
<property name="forbiddenFunctions" type="array" value="delete=>unset,print=>echo,create_function=>null,system=>null,sizeof=>count,escapeshellcmd=>escapeshellarg" />
</properties>
</rule>