Fixed file output error in case of insecure redirect

This commit is contained in:
Frank Breedijk 2017-09-11 16:59:34 +02:00
parent 50287ef2c4
commit 49ed49f505
1 changed files with 1 additions and 1 deletions

View File

@ -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\""