Remove spaces

* Remove trailing spaces at end-of-line
* Remove blank lines at end-of-file

Signed-off-by: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>
This commit is contained in:
Dimitri Papadopoulos
2022-11-28 08:31:12 +01:00
parent 03b71ca57f
commit f28669bf60
169 changed files with 1321 additions and 1402 deletions

View File

@@ -65,7 +65,7 @@ function CheckHeaders
[[ "$1" =~ .*"X-XSS-Protection".* ]] || fail $PID "Missing HTTP header (X-XSS-Protection)"
[[ "$1" =~ .*"Pragma".* ]] || fail $PID "Missing HTTP header (Pragma)"
[[ "$1" =~ .*"Cache-control".* ]] || fail $PID "Missing HTTP header (Cache-control)"
while IFS=':' read name value; do
case "$name" in
Strict-Transport-Security)
@@ -78,7 +78,7 @@ function CheckHeaders
[[ "$value" =~ "default-src 'none'" ]] || fail $PID "Unexpected HTTP header value ($name: $value)";;
X-Permitted-Cross-Domain-Policies)
[[ "$value" =~ "none" ]] || fail $PID "Unexpected HTTP header value ($name: $value)";;
Referrer-Policy)
Referrer-Policy)
[[ "$value" =~ "no-referrer" ]] || fail $PID "Unexpected HTTP header value ($name: $value)";;
Clear-Site-Data)
[[ "$value" =~ "\"cache\",\"cookies\",\"storage\"" ]] || fail $PID "Unexpected HTTP header value ($name: $value)";;