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
3039e4eb
Unverified
Commit
3039e4eb
authored
Aug 24, 2023
by
neil
Committed by
GitHub
Aug 24, 2023
Browse files
Merge pull request #4755 from glocknerc/master-1
Master 1
parents
a936b2f1
9143cd14
Changes
1
Show whitespace changes
Inline
Side-by-side
dnsapi/dns_inwx.sh
View file @
3039e4eb
...
@@ -194,7 +194,7 @@ _inwx_login() {
...
@@ -194,7 +194,7 @@ _inwx_login() {
response
=
"
$(
_post
"
$xml_content
"
"
$INWX_Api
"
""
"POST"
)
"
response
=
"
$(
_post
"
$xml_content
"
"
$INWX_Api
"
""
"POST"
)
"
INWX_Cookie
=
$(
printf
"Cookie: %s"
"
$(
grep
"domrobot="
"
$HTTP_HEADER
"
|
grep
"^Set-Cookie:"
| _tail_n 1 | _egrep_o
'domrobot=[^;]*;'
|
tr
-d
';'
)
"
)
INWX_Cookie
=
$(
printf
"Cookie: %s"
"
$(
grep
"domrobot="
"
$HTTP_HEADER
"
|
grep
-i
"^Set-Cookie:"
| _tail_n 1 | _egrep_o
'domrobot=[^;]*;'
|
tr
-d
';'
)
"
)
_H1
=
$INWX_Cookie
_H1
=
$INWX_Cookie
export
_H1
export
_H1
export
INWX_Cookie
export
INWX_Cookie
...
...
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