1
0
mirror of https://github.com/drwetter/testssl.sh.git synced 2025-07-02 20:01:58 +02:00

Merge pull request from dcooper16/fix1328

Fix 
This commit is contained in:
Dirk Wetter
2019-09-25 08:39:12 +02:00
committed by GitHub

@ -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.