Bin: analyse-headers: bugfix

master
Jonathan Hodgson 10 months ago
parent f7d545b57e
commit b039bf70fd
  1. 2
      bin/.bin/webtest/analyse-headers

@ -408,7 +408,7 @@ attacks (XSS).\n\n"
"report-to" ) reportTO=true ;;
*"-src")
# check sources
if [ "$directiveName" = "script-src" ] | [ "$directiveName" = "default-src" ]; then
if [ "$directiveName" = "script-src" ] || [ "$directiveName" = "default-src" ]; then
scriptOrDefaultSrc=true;
fi
while read source; do

Loading…
Cancel
Save