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
5707b931
Unverified
Commit
5707b931
authored
May 01, 2021
by
neil
Committed by
GitHub
May 01, 2021
Browse files
Merge pull request #3493 from goekesmi/master
Pass content via printf string format and argument
parents
ec0538d2
81b2d073
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
5707b931
...
@@ -2357,7 +2357,7 @@ _startserver() {
...
@@ -2357,7 +2357,7 @@ _startserver() {
echo 'HTTP/1.0 200 OK';
\
echo 'HTTP/1.0 200 OK';
\
echo 'Content-Length
\:
$_content_len
';
\
echo 'Content-Length
\:
$_content_len
';
\
echo '';
\
echo '';
\
printf
--
'
$content
';"
&
printf
'%s'
'
$content
';"
&
serverproc
=
"
$!
"
serverproc
=
"
$!
"
}
}
...
...
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