mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-31 03:52:01 +08: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
|
||||
{
|
||||
|
||||
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…
Reference in a new issue