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
28a9df66
Commit
28a9df66
authored
Jul 13, 2019
by
Honza Hommer
Committed by
neil
Jul 13, 2019
Browse files
Escape slashes (#2375)
parent
42497028
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_namecheap.sh
View file @
28a9df66
...
...
@@ -164,7 +164,7 @@ _namecheap_set_publicip() {
_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}'
)
addr
=
$(
echo
"
$NAMECHEAP_SOURCEIP
"
| _egrep_o
'(http|https):
/
/.*'
)
addr
=
$(
echo
"
$NAMECHEAP_SOURCEIP
"
| _egrep_o
'(http|https):
\/\
/.*'
)
_debug2 ip
"
$ip
"
_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