Merge pull request #1331 from dcooper16/fix1328

Fix #1328
This commit is contained in:
Dirk Wetter 2019-09-25 08:39:12 +02:00 committed by GitHub
commit 2a635ee62d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1490,7 +1490,7 @@ tmpfile_handle() {
# arg1: line with comment sign, tabs and so on
filter_input() {
sed -e 's/#.*$//' -e '/^$/d' <<< "$1" | tr -d '\n' | tr -d '\t'
sed -e 's/#.*$//' -e '/^$/d' <<< "$1" | tr -d '\n' | tr -d '\t' | tr -d '\r'
}
# Dl's any URL (arg1) via HTTP 1.1 GET from port 80, arg2: file to store http body.