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
b19008d1
Commit
b19008d1
authored
Jun 05, 2021
by
Christophe B Billheimer
Browse files
fix dns_1984hosting_add() so checks for HTML responses are actually find HTML responses
parent
9293bcfb
Changes
1
Show whitespace changes
Inline
Side-by-side
dnsapi/dns_1984hosting.sh
View file @
b19008d1
...
...
@@ -59,7 +59,7 @@ dns_1984hosting_add() {
if
_contains
"
$response
"
'"haserrors": true'
;
then
_err
"1984Hosting failed to add TXT record for
$_sub_domain
bad RC from _post"
return
1
elif
_contains
"
$response
"
"
<
html>"
;
then
elif
_contains
"
$response
"
"html>"
;
then
_err
"1984Hosting failed to add TXT record for
$_sub_domain
. Check
$HTTP_HEADER
file"
return
1
elif
_contains
"
$response
"
'"auth": false'
;
then
...
...
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