From 02d54a783a5844de89b5afc4d45ae9906d9b54c2 Mon Sep 17 00:00:00 2001 From: neilpang Date: Mon, 31 Oct 2016 21:12:11 +0800 Subject: [PATCH] fix for idn on solaris --- acme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acme.sh b/acme.sh index 0575e0b6..d4e75804 100755 --- a/acme.sh +++ b/acme.sh @@ -504,7 +504,7 @@ _createkey() { _is_idn() { _is_idn_d="$1" _debug2 _is_idn_d "$_is_idn_d" - _idn_temp=$(printf "%s" "$_is_idn_d" | tr -d "[0-9a-zA-Z.,-]") + _idn_temp=$(printf "%s" "$_is_idn_d" | tr -d '[0-9]' | tr -d '[a-z]' | tr -d 'A-Z' | tr -d '.,-') _debug2 _idn_temp "$_idn_temp" [ "$_idn_temp" ] }