From c840ea50ec15f88b8b7943c39c7798426efdb461 Mon Sep 17 00:00:00 2001 From: Dirk Wetter Date: Sat, 26 Oct 2019 14:29:35 +0200 Subject: [PATCH] Update testssl.sh remove ' --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index 65d2a5b..738d7c3 100755 --- a/testssl.sh +++ b/testssl.sh @@ -2180,7 +2180,7 @@ run_http_header() { # So we also trigger also on any sign on a single line which is not alphanumeric (plus _) sed -e '/^$/q' -e '/^[^a-zA-Z_0-9]$/q' $HEADERFILE >$HEADERFILE.tmp # Now to be more sure we delete from '<' or '{' maybe with a leading blank until the end - sed -e '/^ *<.*$/d' -e '/^ *{.*$/d'' $HEADERFILE.tmp >$HEADERFILE + sed -e '/^ *<.*$/d' -e '/^ *{.*$/d' $HEADERFILE.tmp >$HEADERFILE debugme echo -e "---\n $(< $HEADERFILE) \n---" HTTP_STATUS_CODE=$(awk '/^HTTP\// { print $2 }' $HEADERFILE 2>>$ERRFILE)