Skip to content

DEV: Prevent multiple instances of same locale cookie due to path #272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 11, 2025
Merged

Conversation

nattsw
Copy link
Contributor

@nattsw nattsw commented Apr 11, 2025

image

When using the language switcher, the cookie gets added but the path is not specified, so we may have multiple of the same cookie with varying paths.

This PR fixes the path to root so there won't be dups.

@nattsw nattsw merged commit 2fa47c2 into main Apr 11, 2025
6 checks passed
@nattsw nattsw deleted the 🍪 branch April 11, 2025 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants