FLUID-6497: cookie store needs to update default values related to sameSite setting

Metadata

Source
FLUID-6497
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
N/A
Reporter
Justin Obara
Created
2020-05-12T14:31:42.032-0400
Updated
2020-05-14T14:13:33.782-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. Prefs Framework
  2. UI Options

Description

Steps to reproduce:

1) Open the UI Options demo

2) Modify the preferences

3) Open the browser console and notice the warning:

Cookie “fluid-ui-settings” will be soon rejected because it has the “sameSite” attribute set to “none” or an invalid value, without the “secure” attribute. To know more about the “sameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Cookies Store.js:152:8

See https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#SameSite_cookies for options. Also see: https://developer.mozilla.org/en-US/docs/Web/API/Document/cookie for setting the cookie through the web api.

Comments

  • Cindy Li commented 2020-05-14T14:13:30.668-0400

    The pull request for fixing this issue has been merged into the project repo master branch at this commit.