mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-07 09:10:57 +01:00
Fix grep 3.8 warnings on fgrep.
This commit is contained in:
parent
c819a3014a
commit
ffcf07f6b1
@ -2405,7 +2405,7 @@ match_httpheader_key() {
|
|||||||
pr_svrty_medium " ${nr}x"
|
pr_svrty_medium " ${nr}x"
|
||||||
outln " -- checking first one only"
|
outln " -- checking first one only"
|
||||||
out "$spaces"
|
out "$spaces"
|
||||||
HEADERVALUE="$(fgrep -Fai "$key:" $HEADERFILE | head -1)"
|
HEADERVALUE="$(grep -Fai "$key:" $HEADERFILE | head -1)"
|
||||||
HEADERVALUE="${HEADERVALUE#*:}"
|
HEADERVALUE="${HEADERVALUE#*:}"
|
||||||
HEADERVALUE="$(strip_lf "$HEADERVALUE")"
|
HEADERVALUE="$(strip_lf "$HEADERVALUE")"
|
||||||
HEADERVALUE="$(strip_leading_space "$HEADERVALUE")"
|
HEADERVALUE="$(strip_leading_space "$HEADERVALUE")"
|
||||||
|
Loading…
Reference in New Issue
Block a user