Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
d7eea12a
Commit
d7eea12a
authored
Oct 31, 2016
by
neil
Committed by
GitHub
Oct 31, 2016
Browse files
Merge pull request #353 from Neilpang/dev
Dev
parents
5961d443
2a1e06f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
d7eea12a
...
@@ -504,7 +504,7 @@ _createkey() {
...
@@ -504,7 +504,7 @@ _createkey() {
_is_idn() {
_is_idn() {
_is_idn_d="$1"
_is_idn_d="$1"
_debug2 _is_idn_d "$_is_idn_d"
_debug2 _is_idn_d "$_is_idn_d"
_idn_temp=$(printf "%s" "$_is_idn_d" | tr -d
"
[0-9
a-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"
_debug2 _idn_temp "$_idn_temp"
[ "$_idn_temp" ]
[ "$_idn_temp" ]
}
}
...
@@ -528,7 +528,7 @@ _idn() {
...
@@ -528,7 +528,7 @@ _idn() {
else
else
_i_first=""
_i_first=""
fi
fi
idn "$f" | tr -d "\r\n"
idn
--quiet
"$f" | tr -d "\r\n"
done
done
else
else
idn "$__idn_d" | tr -d "\r\n"
idn "$__idn_d" | tr -d "\r\n"
...
...
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