mirror of
https://github.com/aljazceru/cyphernode.git
synced 2025-12-18 21:25:06 +01:00
Ah!
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user