Browse Source

Test wildcard property for "true," not just being defined

pull/844/head
Jeff Snider 2 years ago
committed by Tim Kimber
parent
commit
28e29b872a
No known key found for this signature in database GPG Key ID: 3E1804964E76BD18
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      getssl

+ 1
- 1
getssl View File

@ -1241,7 +1241,7 @@ create_order() {
for d in "${alldomains[@]}"; do
# Convert domain to lowercase as response from server will be in lowercase
lower_d=$(echo "$d" | tr "[:upper:]" "[:lower:]")
if [[ ( "$lower_d" == "$authdomain" && -z "$wildcard" ) || ( "$lower_d" == "*.${authdomain}" && -n "$wildcard" ) ]]; then
if [[ ( "$lower_d" == "$authdomain" && "$wildcard" != "true" ) || ( "$lower_d" == "*.${authdomain}" && "$wildcard" == "true" ) ]]; then
debug "Saving authorization response for $authdomain for domain alldomains[$dn]"
debug "Response = ${response//[$'\t\r\n']}"
AuthLinkResponse[dn]=$response


Loading…
Cancel
Save