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
fec4af31
Unverified
Commit
fec4af31
authored
Nov 03, 2023
by
neil
Committed by
GitHub
Nov 03, 2023
Browse files
Merge pull request #4855 from studycom-mrobinson/aws-similar-names
Acme2 similar names
parents
d93a5b2d
8454ffa3
Changes
1
Show whitespace changes
Inline
Side-by-side
dnsapi/dns_aws.sh
View file @
fec4af31
...
...
@@ -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"
...
...
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