Browse Source

Merge pull request #1107 from Neilpang/dev

fix https://github.com/Neilpang/acme.sh/issues/1106
neil 7 years ago
parent
commit
cc3660e259
1 changed files with 2 additions and 2 deletions
  1. 2 2
      acme.sh

+ 2 - 2
acme.sh

@@ -1,6 +1,6 @@
 #!/usr/bin/env sh
 #!/usr/bin/env sh
 
 
-VER=2.7.4
+VER=2.7.5
 
 
 PROJECT_NAME="acme.sh"
 PROJECT_NAME="acme.sh"
 
 
@@ -3474,7 +3474,7 @@ issue() {
       token="$(printf "%s\n" "$entry" | _egrep_o '"token":"[^"]*' | cut -d : -f 2 | tr -d '"')"
       token="$(printf "%s\n" "$entry" | _egrep_o '"token":"[^"]*' | cut -d : -f 2 | tr -d '"')"
       _debug token "$token"
       _debug token "$token"
 
 
-      uri="$(printf "%s\n" "$entry" | _egrep_o '"uri":"[^"]*' | cut -d : -f 2,3 | tr -d '"')"
+      uri="$(printf "%s\n" "$entry" | _egrep_o '"uri":"[^"]*' | cut -d '"' -f 4)"
       _debug uri "$uri"
       _debug uri "$uri"
 
 
       keyauthorization="$token.$thumbprint"
       keyauthorization="$token.$thumbprint"