Skip to content
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

LANG_COOKIE_NAME doesn't follow rfc6265 standards #234

Closed
juliuskreutz opened this issue Oct 4, 2024 · 1 comment · Fixed by opral/monorepo#3023
Closed

LANG_COOKIE_NAME doesn't follow rfc6265 standards #234

juliuskreutz opened this issue Oct 4, 2024 · 1 comment · Fixed by opral/monorepo#3023

Comments

@juliuskreutz
Copy link

juliuskreutz commented Oct 4, 2024

Hi,

As per rfc6265 4.1.1 a cookie name must conform to the token syntax, which doesn't allow for the use of separators (e.g. :).

https://github.com/opral/monorepo/blob/main/inlang/source-code/paraglide/paraglide-sveltekit/src/constants.js#L8C33-L8C49
is creating problems with any runtime, that enforces the recent standards or any program, that uses the cookie npm package (because of this line).

I ask, that you either change the value to a rfc6265 conforming one or that you make this constant overwrite/edit able.
Thank you

@samuelstroschein
Copy link
Member

thanks for reporting this. should be fixed via opral/monorepo#3155

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 a pull request may close this issue.

2 participants