mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-30 20:31:15 +01:00
Merge pull request #1500 from dcooper16/shellcheck_SC2197
Fix Shellcheck SC2197
This commit is contained in:
commit
b0cce84a7f
@ -2392,7 +2392,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")"
|
||||
|
Loading…
Reference in New Issue
Block a user