Browse Source

Use more flexible version of uppercase to lowercase conversion.

Armando Lüscher 8 years ago
parent
commit
09eccf6fc0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dnsapi/dns_cyon.sh

+ 1 - 1
dnsapi/dns_cyon.sh

@@ -86,7 +86,7 @@ _cyon_urlencode() {
 
 _cyon_load_parameters() {
   # 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}"
 
   # Special case for IDNs, as cyon needs a domain environment change,