1
0
mirror of https://github.com/hiskaNG/acme.sh.git synced 2026-08-19 20:32:58 +00:00

Merge pull request #255 from jim3mar/master

dns_cx.sh prefix and suffix domain bug fixed
This commit is contained in:
neil
2016-08-05 21:44:22 +08:00
committed by GitHub
+1 -1
View File
@@ -145,7 +145,7 @@ _get_root() {
fi
if printf "$response" | grep "$h." >/dev/null ; then
seg=$(printf "$response" | grep -o "{[^{]*$h\.[^}]*\}" )
seg=$(printf "$response" | grep -o "{[^{]*\"$h\.\"[^}]*\}" )
_debug seg "$seg"
_domain_id=$(printf "$seg" | grep -o \"id\":\"[^\"]*\" | cut -d : -f 2 | tr -d \")
_debug _domain_id "$_domain_id"