mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-04-30 13:34:13 +00:00
Merge pull request #4855 from studycom-mrobinson/aws-similar-names
Acme2 similar names
This commit is contained in:
commit
fec4af3194
@ -157,7 +157,7 @@ _get_root() {
|
||||
|
||||
# iterate over names (a.b.c.d -> b.c.d -> c.d -> d)
|
||||
while true; do
|
||||
h=$(printf "%s" "$domain" | cut -d . -f $i-100)
|
||||
h=$(printf "%s" "$domain" | cut -d . -f $i-100 | sed 's/\./\\./g')
|
||||
_debug "Checking domain: $h"
|
||||
if [ -z "$h" ]; then
|
||||
_error "invalid domain"
|
||||
|
Loading…
x
Reference in New Issue
Block a user