Skip to content

[6.x] Fixes for Codex findings#19252

Merged
brandonkelly merged 33 commits into
6.xfrom
bugfix/miscellaneous
Jul 16, 2026
Merged

[6.x] Fixes for Codex findings#19252
brandonkelly merged 33 commits into
6.xfrom
bugfix/miscellaneous

Conversation

@riasvdv

@riasvdv riasvdv commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Description

Told Codex to find bugs or inconsistencies and it found some, most of these are edge cases and small fixes but still worth doing, another prompt would probably find more stuff, but I thought this was enough for one PR 😅

Verified and reviewed the code for each of these manually between each commit.

One behavior change is that logout is now a POST instead of a GET, which is what's actually recommended as GET should be idempotent and some browsers prefetch links which would cause an unintended logout.
Edit: adjusted the registration to Route::any so GET requests still work for backwards compatibility.

@github-actions

github-actions Bot commented Jul 15, 2026

Copy link
Copy Markdown

📚 Storybook previews

@craftcms/cpopen Storybook

No changed components detected in this Storybook.

resources/jsopen Storybook

No changed components detected in this Storybook.

@riasvdv
riasvdv requested a review from brandonkelly July 15, 2026 20:58
@riasvdv
riasvdv marked this pull request as ready for review July 15, 2026 20:58
@brandonkelly
brandonkelly merged commit d29d94f into 6.x Jul 16, 2026
25 checks passed
@brandonkelly
brandonkelly deleted the bugfix/miscellaneous branch July 16, 2026 18:15
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