mirror of
https://github.com/m8tin/cis.git
synced 2026-11-02 14:17:24 +01:00
allow @ in parameters and sanitize all parameters using base.set
This commit is contained in:
6 files changed
+35
-20
No files matched your search
+1
-1
@@ -14,7 +14,7 @@
|
||||
function base.checkAllInputParameters() {
|
||||
local _ALLOWED_CHARS _ARG _SUCCESS
|
||||
# Global whitelist for all start-parameters ($1, $2, ...)
|
||||
_ALLOWED_CHARS='-[:alnum:]/_.:'
|
||||
_ALLOWED_CHARS='-[:alnum:]@/_.:'
|
||||
readonly _ALLOWED_CHARS
|
||||
|
||||
_SUCCESS="true"
|
||||
|
||||
Reference in new issue
Block a user