Skip to content

Commit

Permalink
Merge pull request #4855 from studycom-mrobinson/aws-similar-names
Browse files Browse the repository at this point in the history
Acme2 similar names
  • Loading branch information
Neilpang committed Nov 3, 2023
2 parents d93a5b2 + 8454ffa commit fec4af3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnsapi/dns_aws.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit fec4af3

Please sign in to comment.