diff --git a/bin/v-activate-vesta-license b/bin/v-activate-vesta-license index 87ffd5069..fefed2027 100755 --- a/bin/v-activate-vesta-license +++ b/bin/v-activate-vesta-license @@ -35,7 +35,7 @@ is_user_format_valid "$license" "license" # Activating license v_host='https://vestacp.com/checkout' -answer=$(curl -s $v_host/activate.php?licence_key=$license&module=$module) +answer=$(curl -s "$v_host/activate.php?licence_key=$license&module=$module") check_result $? "cant' connect to vestacp.com " $E_CONNECT # Checking server answer diff --git a/bin/v-deactivate-vesta-license b/bin/v-deactivate-vesta-license index 5839aaad5..c7279e456 100755 --- a/bin/v-deactivate-vesta-license +++ b/bin/v-deactivate-vesta-license @@ -35,7 +35,7 @@ check_args '2' "$#" 'MODULE LICENSE' # Activating license v_host='https://vestacp.com/checkout' -answer=$(curl -s $v_host/cancel.php?licence_key=$license) +answer=$(curl -s "$v_host/cancel.php?licence_key=$license&module=$module") check_result $? "cant' connect to vestacp.com " $E_CONNECT # Checking server answer