BIN: fix csp check in analyse-headers
the csp function didn't correctly return 1 when a missconfigured csp was found
This commit is contained in:
parent
3f01926ab6
commit
349963cdad
1 changed files with 1 additions and 0 deletions
|
@ -219,6 +219,7 @@ attacks (XSS).\n\n"
|
||||||
echo "Content-Security-Policy" | drawInBox
|
echo "Content-Security-Policy" | drawInBox
|
||||||
message="$(echo "$message" | tr -d '\t')"
|
message="$(echo "$message" | tr -d '\t')"
|
||||||
wecho -e "$message"
|
wecho -e "$message"
|
||||||
|
return 1
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue