From e75b62efad83f1c5f061b57167125458cc97759f Mon Sep 17 00:00:00 2001 From: Clark Chen <9372896+clarkchentw@users.noreply.github.com> Date: Mon, 30 Mar 2020 16:48:22 +0800 Subject: [PATCH] Fix curl call curl wasn't called properly, due to '&' character exist in url without quote around it --- bin/v-activate-vesta-license | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/v-activate-vesta-license b/bin/v-activate-vesta-license index 6d5c875ec..fc753e898 100755 --- a/bin/v-activate-vesta-license +++ b/bin/v-activate-vesta-license @@ -35,7 +35,7 @@ check_args '2' "$#" 'MODULE 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