This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse
Rafael dos Santos Silva 2a0cd066a7 FIX: Remove all service workers from Apple devices *again*
There is a bug that when Safari starts up, and reloads the tabs from
the previous session **and** there is a service worker registered for
the scope of the document, all cookies marked as `SameSite=Lax` won't be
sent in the request.

This puts Discourse in a **very** broken state, where:

- You appear as a anon user
- Subsequent xhr requests will come with logged in data
- Refreshing doesn't log you in (cookies are still not sent)
- Clicking on the address bar and hitting enter, will log you in (as it
will finally send those damn `SameSite=Lax` cookies.

Looks a lot like a corner case missed by the fix at
https://trac.webkit.org/changeset/241918/webkit
2019-07-16 19:30:38 -03:00
..
adapters SECURITY: XSS in routes 2019-06-26 16:34:15 +02:00
components DEV: Upgrades to Ember 3.10 (#7871) 2019-07-16 12:45:15 +02:00
controllers FIX: Do not show bootbox if post has no replies. (#7866) 2019-07-12 11:42:57 +02:00
helpers FIX: Rename deprecated icons, allow custom icons in badges 2019-07-16 11:13:44 -04:00
initializers FIX: Remove all service workers from Apple devices *again* 2019-07-16 19:30:38 -03:00
lib DEV: Upgrades to Ember 3.10 (#7871) 2019-07-16 12:45:15 +02:00
mixins DEV: Upgrades to Ember 3.10 (#7871) 2019-07-16 12:45:15 +02:00
models FIX: Rename deprecated icons, allow custom icons in badges 2019-07-16 11:13:44 -04:00
pre-initializers DEV: s/this._super()/this._super(...arguments) (#6908) 2019-01-19 10:05:51 +01:00
raw-views DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
routes FIX: Back button would go to previous topic instead of list 2019-07-05 15:53:14 -04:00
services FIX: correct translations for logs error rate notice (#7622) 2019-05-28 22:10:51 +03:00
templates FIX: Rename deprecated icons, allow custom icons in badges 2019-07-16 11:13:44 -04:00
widgets FIX: Rename deprecated icons, allow custom icons in badges 2019-07-16 11:13:44 -04:00
mapping-router.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00