mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-07 17:20:57 +01:00
Merge branch '2.9dev' into fix_616
This commit is contained in:
commit
2bfc0dc1d7
@ -1875,6 +1875,7 @@ emphasize_stuff_in_headers(){
|
||||
-e "s/X-AspNet-Version/${yellow}X-AspNet-Version${off}/g"
|
||||
|
||||
if "$do_html"; then
|
||||
if [[ $COLOR -eq 2 ]]; then
|
||||
html_out "$(tm_out "$1" | sed -e 's/\&/\&/g' \
|
||||
-e 's/</\</g' -e 's/>/\>/g' -e 's/"/\"/g' -e "s/'/\'/g" \
|
||||
-e "s/\([0-9]\)/${html_brown}\1${html_off}/g" \
|
||||
@ -1906,6 +1907,9 @@ emphasize_stuff_in_headers(){
|
||||
-e "s/X-Powered-By/${html_yellow}X-Powered-By${html_off}/g" \
|
||||
-e "s/X-UA-Compatible/${html_yellow}X-UA-Compatible${html_off}/g" \
|
||||
-e "s/X-AspNet-Version/${html_yellow}X-AspNet-Version${html_off}/g")"
|
||||
else
|
||||
html_out "$(html_reserved "$1")"
|
||||
fi
|
||||
html_out "\n"
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user