mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-06-23 02:38:09 +02:00
remove jinja from soup scripts
This commit is contained in:
@@ -517,8 +517,6 @@ valid_int() {
|
||||
[[ $num =~ ^[0-9]*$ ]] && [[ $num -ge $min ]] && [[ $num -le $max ]] && return 0 || return 1
|
||||
}
|
||||
|
||||
# {% raw %}
|
||||
|
||||
valid_proxy() {
|
||||
local proxy=$1
|
||||
local url_prefixes=( 'http://' 'https://' )
|
||||
@@ -561,8 +559,6 @@ valid_string() {
|
||||
echo "$str" | grep -qP '^\S+$' && [[ ${#str} -ge $min_length ]] && [[ ${#str} -le $max_length ]] && return 0 || return 1
|
||||
}
|
||||
|
||||
# {% endraw %}
|
||||
|
||||
valid_username() {
|
||||
local user=$1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user