Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
049be104
Commit
049be104
authored
Oct 23, 2016
by
neilpang
Browse files
fix idn to support European chars
https://github.com/Neilpang/acme.sh/issues/331#issuecomment-255583889
parent
9aa3be7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
049be104
...
...
@@ -486,7 +486,10 @@ _createkey() {
#domain
_is_idn
()
{
_is_idn_d
=
"
$1
"
echo
"
$_is_idn_d
"
|
grep
"[^0-9a-zA-Z.,]"
>
/dev/null 2>&1
_debug2 _is_idn_d
"
$_is_idn_d
"
_idn_temp
=
$(
printf
"%s"
"
$_is_idn_d
"
|
tr
-d
"[0-9a-zA-Z.,-]"
)
_debug2 _idn_temp
"
$_idn_temp
"
[
"
$_idn_temp
"
]
}
#aa.com
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment