Browse Source

Use more flexible version of uppercase to lowercase conversion.

cron
Armando Lüscher 8 years ago
parent
commit
09eccf6fc0
No known key found for this signature in database GPG Key ID: 3D71085D14920359
  1. 2
      dnsapi/dns_cyon.sh

2
dnsapi/dns_cyon.sh

@ -86,7 +86,7 @@ _cyon_urlencode() {
_cyon_load_parameters() { _cyon_load_parameters() {
# Read the required parameters to add the TXT entry. # Read the required parameters to add the TXT entry.
fulldomain="$(printf "%s" "${1}" | tr '[:upper:]' '[:lower:]')"
fulldomain="$(printf "%s" "${1}" | tr '[A-Z]' '[a-z]')"
fulldomain_idn="${fulldomain}" fulldomain_idn="${fulldomain}"
# Special case for IDNs, as cyon needs a domain environment change, # Special case for IDNs, as cyon needs a domain environment change,

Loading…
Cancel
Save