mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-03 23:39:45 +01:00
Update testssl.sh
remove '
This commit is contained in:
parent
e4f7788899
commit
c840ea50ec
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user