mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 16:37:02 +03:00
Bugfix: Fulguris incognito mode failed
This commit is contained in:
parent
4a403df168
commit
c9ebb5a767
1 changed files with 4 additions and 1 deletions
|
|
@ -107,8 +107,11 @@ abstract class SecFetch
|
||||||
|
|
||||||
public static function isSameOrigin() : bool
|
public static function isSameOrigin() : bool
|
||||||
{
|
{
|
||||||
|
|
||||||
return !isset($_SERVER['HTTP_SEC_FETCH_SITE'])
|
return !isset($_SERVER['HTTP_SEC_FETCH_SITE'])
|
||||||
|| 'same-origin' === $_SERVER['HTTP_SEC_FETCH_SITE'];
|
|| 'same-origin' === $_SERVER['HTTP_SEC_FETCH_SITE']
|
||||||
|
// Fulguris incognito: Dest = document, Mode = navigate, Site = none, User = true
|
||||||
|
|| 'none' === $_SERVER['HTTP_SEC_FETCH_SITE'];
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue