You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently if one does not set the cookies_domain option in the config it will be autogenerated from globals here, but it is then cached with the rest of the config too, which can lead to issues on multi-domain sites.
The only thing this did differently than PHP's default domain is removed
the www. prefix allowing the cookie to assigned to foo.com and www.foo.com.
It was decided this isn't a big enough use case to warrant keeping this logic.
Note that fixing this caching bug would mean moving the logic to 3 different
places (or 2 with larger refactoring).
Currently if one does not set the cookies_domain option in the config it will be autogenerated from globals here, but it is then cached with the rest of the config too, which can lead to issues on multi-domain sites.
Assigning to @CarsonF per discussion on slack :)
The text was updated successfully, but these errors were encountered: