diff --git a/src/catalog/controller/vsbridge/sync_session.php b/src/catalog/controller/vsbridge/sync_session.php index 5462a06..f13c00e 100644 --- a/src/catalog/controller/vsbridge/sync_session.php +++ b/src/catalog/controller/vsbridge/sync_session.php @@ -11,6 +11,12 @@ public function index(){ session_abort(); session_id($vsbridge_session_id); session_start(); + + // Temporary, edge case hotfix due to https://github.com/cloudflare/cloudflare-docs/issues/17 + // Summary: Cloudflare workers combine set-cookie headers, but Chrome >= 88 only takes the first cookie + // Fix: We clear previous cookies to set the session properly + header_remove('Set-Cookie'); + $this->session->start('default', $vsbridge_session_id); // to: GET parameter determining the redirection destination