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
5e970cdc
Commit
5e970cdc
authored
Jul 18, 2019
by
neilpang
Browse files
Merge branch 'dev' of github.com:Neilpang/acme.sh into dev
parents
28cadc5e
3cdfa405
Changes
2
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
5e970cdc
...
@@ -3621,7 +3621,7 @@ _ns_purge_cf() {
...
@@ -3621,7 +3621,7 @@ _ns_purge_cf() {
_cf_d
=
"
$1
"
_cf_d
=
"
$1
"
_cf_d_type
=
"
$2
"
_cf_d_type
=
"
$2
"
_debug
"Cloudflare purge
$_cf_d_type
record for domain
$_cf_d
"
_debug
"Cloudflare purge
$_cf_d_type
record for domain
$_cf_d
"
_cf_purl
=
"https://1.
1.1
.1/api/v1/purge?domain=
$_cf_d
&type=
$_cf_d_type
"
_cf_purl
=
"https://1.
0.0
.1/api/v1/purge?domain=
$_cf_d
&type=
$_cf_d_type
"
response
=
"
$(
_post
""
"
$_cf_purl
"
)
"
response
=
"
$(
_post
""
"
$_cf_purl
"
)
"
_debug2 response
"
$response
"
_debug2 response
"
$response
"
}
}
...
...
dnsapi/dns_namecheap.sh
View file @
5e970cdc
...
@@ -164,7 +164,7 @@ _namecheap_set_publicip() {
...
@@ -164,7 +164,7 @@ _namecheap_set_publicip() {
_debug sourceip
"
$NAMECHEAP_SOURCEIP
"
_debug sourceip
"
$NAMECHEAP_SOURCEIP
"
ip
=
$(
echo
"
$NAMECHEAP_SOURCEIP
"
| _egrep_o
'[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}'
)
ip
=
$(
echo
"
$NAMECHEAP_SOURCEIP
"
| _egrep_o
'[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}'
)
addr
=
$(
echo
"
$NAMECHEAP_SOURCEIP
"
| _egrep_o
'(http|https):
/
/.*'
)
addr
=
$(
echo
"
$NAMECHEAP_SOURCEIP
"
| _egrep_o
'(http|https):
\/\
/.*'
)
_debug2 ip
"
$ip
"
_debug2 ip
"
$ip
"
_debug2 addr
"
$addr
"
_debug2 addr
"
$addr
"
...
...
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