BIN: Analyse-headers: Adds to description for cookie flag
This commit is contained in:
parent
3665bb63a2
commit
5369861bc8
1 changed files with 3 additions and 1 deletions
|
@ -255,7 +255,8 @@ sent over unencrypted channels\n\n"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! echo "$value" | grep -q "SameSite=Strict"; then
|
if ! echo "$value" | grep -q "SameSite=Strict"; then
|
||||||
output+="SameSite controls whether a cookie is sent with cross-origin requests, \
|
output+="The SameSite flag isn't set to Strict. The SameSite flag \
|
||||||
|
controls whether a cookie is sent with cross-origin requests, \
|
||||||
providing some protection against cross-site request forgery attacks.
|
providing some protection against cross-site request forgery attacks.
|
||||||
Strict means the browser sends the cookie only for same-site requests\n\n"
|
Strict means the browser sends the cookie only for same-site requests\n\n"
|
||||||
ret=$((ret>1 ? ret : 1))
|
ret=$((ret>1 ? ret : 1))
|
||||||
|
@ -402,6 +403,7 @@ echo "$missingHeaders" | while read line; do
|
||||||
"$functionName" >> "$tmpfile"
|
"$functionName" >> "$tmpfile"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
|
||||||
cat "$tmpfile"
|
cat "$tmpfile"
|
||||||
rm "$tmpfile"
|
rm "$tmpfile"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue