Skip to content

Comments

Fix popups by always sending cookies#29

Merged
jdarwood007 merged 1 commit intoSimpleMachines:masterfrom
Rupurudu:fix_popups
May 24, 2025
Merged

Fix popups by always sending cookies#29
jdarwood007 merged 1 commit intoSimpleMachines:masterfrom
Rupurudu:fix_popups

Conversation

@Rupurudu
Copy link
Contributor

This sent me down a hours long rabbit hole where I changed every cookie setting, adding/removing CORS domains and headers, disabling Frame Security Options, and even reading RFC 2606 and changing my development domain from forum.smf.local to forum.smf.test.

There is absolutely no use case where doing ajax to SMF and not sending cookies, since SMF will always redirect us to the login page anyway.

Signed-off-by: Mustafa Can Elmacı <mustafacan@elmaci.net>
@Rupurudu
Copy link
Contributor Author

@jdarwood007

Copy link
Member

@jdarwood007 jdarwood007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The intent was that SMF would be loaded and thus call variables that SMF provides during its theme startup. But that does not happen because we are not fully starting up SMF even to do the menu.

@jdarwood007 jdarwood007 merged commit 9374bc6 into SimpleMachines:master May 24, 2025
9 of 10 checks passed
@Rupurudu Rupurudu deleted the fix_popups branch June 2, 2025 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants