Comments (4)
Hey @Michael-Grupp, thank you for your thoughtful report!
Secure
: That's a good point, I've just added #1272 to add this. Do you by chance know if this could be a breaking change for any consumers? As far as I can tell only, in case someone would host a Next.js app without HTTPS, which seems very unlikely to me. Would you agree?
HttpOnly
: This is currently not set, because next-intl
does in fact change the cookie on the client side (see #790). I understand that ideally we'd not have to do this, but due to the way Next.js works, this is currently necessary as far as I can tell.
One alternative is to manually set these flags on the cookies after they are created by next-intl, but this approach is less desirable
I agree, ideally next-intl
would work out-of-the-box without any changes necessary.
from next-intl.
Related Issues (20)
- Can't find NextIntlClientProvider after updating React HOT 2
- Error Occurs When Calling cookies() in getRequestConfig() HOT 4
- Wrong document HOT 1
- Pathnames with 2 dynamics values of the same name require 2 different params HOT 1
- Example-app-router error when using output: 'export' (SSG) HOT 1
- Unable to find `next-intl` locale because the middleware didn't run on this request. HOT 1
- next-intl does not output index.html file HOT 1
- router issue when switching locale: path.startsWith is not a function HOT 8
- Incompatibility of Server-Side Functions with Client Component Layout in Next.js 14 /app HOT 1
- How to send the language (locale) code to Fetch operations processed by the Client Side? HOT 1
- Unable to Use loading.tsx with next-intl in App Router with i18n Routing HOT 4
- NextJS 15 support HOT 2
- Cannot retrieve Link's props from createLocalizedPathnamesNavigation HOT 1
- Middleware should gracefully handle unsupported but valid locale identifiers HOT 1
- Next.js - Navigation between pages in the pages router loses translations. HOT 3
- [Docs]: Typescript Validation HOT 1
- NextJS 15's `next/font` breaks alternate header injection. HOT 3
- Localized search/query params HOT 1
- Using Link component with legacyBehavior+passHref producing warnings HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from next-intl.