mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-20 21:34:11 -07:00
new improved template scheme
This commit is contained in:
parent
14687f170a
commit
fd4e68bb8c
96 changed files with 1395 additions and 1425 deletions
|
@ -209,7 +209,7 @@ is_object_valid() {
|
|||
fi
|
||||
fi
|
||||
if [ -z "$sobject" ]; then
|
||||
echo "Error: $3 not exist"
|
||||
echo "Error: $2 $3 not exist"
|
||||
log_event "$E_NOTEXIST" "$EVENT"
|
||||
exit $E_NOTEXIST
|
||||
fi
|
||||
|
@ -684,7 +684,7 @@ validate_format_mhdmw() {
|
|||
fi
|
||||
}
|
||||
|
||||
# Nginx static extention or DNS record
|
||||
# proxy extention or DNS record
|
||||
validate_format_common() {
|
||||
exclude="[!|#|$|^|&|(|)|+|=|{|}|:|<|>|?|/|\|\"|'|;|%|\`| ]"
|
||||
if [[ "$1" =~ $exclude ]] || [ 200 -le ${#1} ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue