-
-
Notifications
You must be signed in to change notification settings - Fork 510
Open
Labels
Description
Describe the feature
The @nuxtjs/i18n module currently lacks the option to set the httpOnly flag on cookies used by the detectBrowserLanguage feature. This omission leads to security warnings in vulnerability scans, particularly when deploying sites on platforms like Google Ads, which highlight the absence of the httpOnly flag as a potential security risk. Implementing this feature would enhance security by protecting cookies from being accessed through client-side scripts.

Additional information
- Would you be willing to help implement this feature?
- Could this feature be implemented as a module?
Final checks
- Read the contribution guide (The contribution guideline of nuxt-modules/i18n is compliant with Nuxt too).
- Check existing discussions and issues.