remove jinja from soup scripts

This commit is contained in:
m0duspwnens
2022-01-24 15:49:55 -05:00
parent 86cfa07af9
commit 268e07e2a2
4 changed files with 28 additions and 43 deletions
-4
View File
@@ -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