Merge pull request #3493 from goekesmi/master

Pass content via printf string format and argument
This commit is contained in:
neil
2021-05-01 10:16:30 +08:00
committed by GitHub

View File

@@ -2357,7 +2357,7 @@ _startserver() {
echo 'HTTP/1.0 200 OK'; \
echo 'Content-Length\: $_content_len'; \
echo ''; \
printf -- '$content';" &
printf '%s' '$content';" &
serverproc="$!"
}