mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-09-17 09:22:54 +02:00
Typos fixed which led to wrong file name
... which was catched in unit tests t/{baseline_ipv4_http.t,23_client_simulation}
This commit is contained in:
@ -2521,7 +2521,7 @@ sanitze_http_header() {
|
|||||||
sed -e '/^$/q' -e '/^[^a-zA-Z_0-9]$/q' $1 | tr -d '\000-\011\013\014\016-\037' >$1.tmp
|
sed -e '/^$/q' -e '/^[^a-zA-Z_0-9]$/q' $1 | tr -d '\000-\011\013\014\016-\037' >$1.tmp
|
||||||
# Now to be more sure we delete from '<' or '{' maybe with a leading blank until the end
|
# Now to be more sure we delete from '<' or '{' maybe with a leading blank until the end
|
||||||
sed -e '/^ *<.*$/d' -e '/^ *{.*$/d' $1.tmp >$1
|
sed -e '/^ *<.*$/d' -e '/^ *{.*$/d' $1.tmp >$1
|
||||||
debugme echo -e "---\n $(< $1E) \n---"
|
debugme echo -e "---\n $(< $1) \n---"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user