You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
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
Final checks
The text was updated successfully, but these errors were encountered: