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
204e5f44
Commit
204e5f44
authored
Aug 08, 2022
by
neilpang
Browse files
fix
https://github.com/acmesh-official/acme.sh/issues/4232
parent
044a9bb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
204e5f44
...
...
@@ -1186,7 +1186,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-9] | tr -d [a-z] | tr -d [A-Z] | tr -d '*.,-_')
_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" ]
}
...
...
@@ -4195,7 +4195,7 @@ _match_issuer() {
_isIPv4() {
for seg in $(echo "$1" | tr '.' ' '); do
_debug2 seg "$seg"
if [ "$(echo "$seg" | tr -d [0-9])" ]; then
if [ "$(echo "$seg" | tr -d
'
[0-9]
'
)" ]; then
#not all number
return 1
fi
...
...
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