-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3155 from axel-rock/main
fix opral/inlang-paraglide-js#234: update LANG_COOKIE_NAME to follow rfc6265 standard
- Loading branch information
Showing
2 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
"@inlang/paraglide-sveltekit": patch | ||
--- | ||
|
||
Fixes https://github.com/opral/inlang-paraglide-js/issues/234. | ||
|
||
Paraglide SvelteKit used the cookie name `paraglide:lang` which is | ||
not compliant with rfc6265 standards for cookie names. SvelteKit | ||
recently introduced strict cookie parsing which caused | ||
`paraglide:lang` to be rejected. | ||
|
||
The cookie name has been updated to `paraglide_lang` to be compliant. | ||
|
||
```diff | ||
-paraglide:lang | ||
+paraglide_lang | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters