Merge pull request #1325 from Phylu/patch-1

remove duplicate header name for other_header in file output
This commit is contained in:
Dirk Wetter 2019-09-18 20:42:33 +02:00 committed by GitHub
commit 01f73a2249
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3046,7 +3046,7 @@ run_security_headers() {
fi
pr_litecyan "$header"
outln " $HEADERVALUE" # shouldn't be that long
fileout "$header" "INFO" "$header: $HEADERVALUE"
fileout "$header" "INFO" "$HEADERVALUE"
fi
done
#TODO: I am not testing for the correctness or anything stupid yet, e.g. "X-Frame-Options: allowall" or Access-Control-Allow-Origin: *