File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -374,8 +374,8 @@ if [ "$web" != 'no' ] && [ ! -z "$WEB_SYSTEM" ]; then
374374 # Copying ssl certificates
375375 if [ " $SSL " = ' yes' ]; then
376376 for crt in $( ls $tmpdir /web/$domain /conf | grep ssl) ; do
377- crt=$( echo " $crt " | sed " s/ssl.//" )
378- cp -f $tmpdir /web/$domain /conf/ssl. $crt $USER_DATA /ssl/$crt
377+ crt=$( echo $crt | sed -e " s/ssl.//" )
378+ cp -f $tmpdir /web/$domain /conf/$crt $USER_DATA /ssl/$crt
379379 done
380380 fi
381381
Original file line number Diff line number Diff line change @@ -634,8 +634,8 @@ is_date_format_valid() {
634634is_dbuser_format_valid () {
635635 exclude=" [!|@|#|$|^|&|*|(|)|+|=|{|}|:|,|<|>|?|/|\|\" |'|;|%|\` | ]"
636636 if [ 17 -le ${# 1} ]; then
637- check_result $E_INVALID " mysql username can be up to 16 characters long"
638- fi
637+ check_result $E_INVALID " mysql username can be up to 16 characters long"
638+ fi
639639 if [[ " $1 " =~ $exclude ]]; then
640640 check_result $E_INVALID " invalid $2 format :: $1 "
641641 fi
@@ -770,7 +770,7 @@ is_name_format_valid() {
770770
771771# Object validator
772772is_object_format_valid () {
773- if ! [[ " $1 " =~ ^[[:alnum:]][-| \. | _[:alnum:]]{0,28 }[[:alnum:]]$ ]]; then
773+ if ! [[ " $1 " =~ ^[[:alnum:]][-| \. | _[:alnum:]]{0,64 }[[:alnum:]]$ ]]; then
774774 check_result $E_INVALID " invalid $2 format :: $1 "
775775 fi
776776}
You can’t perform that action at this time.
0 commit comments