Skip to content

Implement cookie prefixes - #4119

Merged
dgw merged 2 commits into
masterfrom
cookie-prefixes
Jun 4, 2026
Merged

dgw merged 2 commits into
masterfrom
cookie-prefixes

Conversation

@ozh

@ozh ozh commented Jun 3, 2026

Copy link
Copy Markdown
Member

Idea surfaced 6 years ago, and browser support is mature now.

Add __Host- / __Secure- cookie name prefixes to the auth cookie for browser-side hardening on HTTPS installs.

Closes #2785

@dgw dgw added this to the 1.10.5 milestone Jun 4, 2026
@dgw dgw added enhancement New feature or request core security labels Jun 4, 2026

@dgw dgw left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I know a change is straightforward when unit tests far outweigh the actual patch 😁

@dgw
dgw merged commit a9efbe0 into master Jun 4, 2026
8 checks passed
@dgw
dgw deleted the cookie-prefixes branch June 4, 2026 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core enhancement New feature or request security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhance cookies with prefixes

2 participants