Bin: analyse-headers: bugfix
This commit is contained in:
parent
f7d545b57e
commit
b039bf70fd
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue