This commit is contained in:
kexkey
2019-08-30 17:18:33 -04:00
committed by kexkey
parent a68123630a
commit d8665a1ee1

View File

@@ -92,7 +92,7 @@ verify_group() {
# Check for code injection # Check for code injection
# action can be alphanum... and _ and - but nothing else # action can be alphanum... and _ and - but nothing else
local actiontoinspect=$(echo "$action" | tr -d '_-') local actiontoinspect=$(echo "$action" | tr -d '_-')
case $actiontoinspect in (*[![:alnum:]]*|"") case $actiontoinspect in (*[![:alnum:]]*|"")
trace "[verify_group] Potential code injection, exiting" trace "[verify_group] Potential code injection, exiting"
return 1 return 1