From 49ed49f505c0a35fd588ec0526cf4362aa7843cf Mon Sep 17 00:00:00 2001 From: Frank Breedijk Date: Mon, 11 Sep 2017 16:59:34 +0200 Subject: [PATCH] Fixed file output error in case of insecure redirect --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index 848f56b..5778b9e 100755 --- a/testssl.sh +++ b/testssl.sh @@ -1416,7 +1416,7 @@ run_http_header() { out ", redirecting to \""; pr_url "$redirect"; out "\"" if [[ $redirect == "http://"* ]]; then pr_svrty_high " -- Redirect to insecure URL (NOT ok)" - fileout "HTTP_STATUS_CODE" "HIGH" \, "Redirect to insecure URL. Url: \"$redirect\"" + fileout "insecure_redirect" "HIGH" "Redirect to insecure URL. Url: \"$redirect\"" fi fileout "HTTP_STATUS_CODE" "INFO" \ "Testing HTTP header response @ \"$URL_PATH\", $HTTP_STATUS_CODE$msg_thereafter, redirecting to \"$redirect\""