diff --git a/testssl.sh b/testssl.sh index 6b7f36e..f3505d0 100755 --- a/testssl.sh +++ b/testssl.sh @@ -2405,7 +2405,7 @@ match_httpheader_key() { pr_svrty_medium " ${nr}x" outln " -- checking first one only" out "$spaces" - HEADERVALUE="$(fgrep -Fai "$key:" $HEADERFILE | head -1)" + HEADERVALUE="$(grep -Fai "$key:" $HEADERFILE | head -1)" HEADERVALUE="${HEADERVALUE#*:}" HEADERVALUE="$(strip_lf "$HEADERVALUE")" HEADERVALUE="$(strip_leading_space "$HEADERVALUE")"