Bin: analyse-headers: bugfix

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

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

Loading…
Cancel
Save