Projekt

Allgemein

Profil

Aktionen

GX-Task #68224

geschlossen

Hinweismeldung im Browser für ein ungültiges Cookie, was in zukünftigen Browsern abgelegt werden kann / Warning message in the browser for an invalid cookie, which can be dropped in future browsers

Von Till Tepelmann vor mehr als 3 Jahren hinzugefügt. Vor fast 3 Jahren aktualisiert.

Status:
Erledigt
Priorität:
Dringend
Zugewiesen an:
Ahmed Hamouda
Kategorie:
Cookie Consent
Zielversion:
% erledigt:

0%

Steps to reproduce:
Betroffene Versionen:
4.2.1.0, 4.3.3.0
Release Notes Langtext:

CookieConstent Module setzt nun das "SameSite" Attribute in den erstellten Cookies korrekt.


Beschreibung

Das Cookie "oil_cookie_exp" wird in Zukunft bald abgelehnt werden, da es für das Attribut "SameSite" entweder "None" oder einen ungültigen Wert angibt, ohne das "secure"-Attribut zu verwenden. Weitere Informationen zum "SameSite"-Attribut finden Sie unter https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite

Hier müsste man das entsprechend als "secure" kennzeichnen damit die Meldung im Browser nicht mehr erscheint und das Cookie in Zukunft auch weiterhin funktioniert,

Kann wie folgt reproduziert werden:

  1. Gambio Admin öffnen
  2. Unter Module->Modul-Center das Modul "Cookie Consent" installieren
  3. Im Modul auf "Bearbeiten" klicken und dort sicherstellen, dass unter Allgemein der Status "aktiv" ist.
  4. Shopfront mir Firefox öffnen
  5. Im Browser die Konsole mit F12 öffnen
  6. Der Text erscheint in der Konsole

Erwartetes Verhalten:
Es sollte keine Hinweismeldung im Browser erscheinen wenn man das Cookie Consent Tool aktiv hat.

Tatsächliches Verhalten:
Wenn das Cookie Consent Tool installiert und aktiv ist, wird eine Meldung im Browser ausgegeben die darauf hinweist dass ein Cookie in Zukunft abgelehnt wird


The cookie "oil_cookie_exp" will soon be rejected in the future because it specifies either "None" or an invalid value for the "SameSite" attribute without using the "secure" attribute. For more information on the "SameSite" attribute, see https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite.

Here you would have to mark this as "secure" accordingly so that the message no longer appears in the browser and the cookie continues to work in the future,

Can be reproduced as follows:

  1. open Gambio Admin
  2. install the module "Cookie Consent" under Modules->Module Center.
  3. click on "Edit" in the module and there make sure that under General the status is "active".
  4. open Shopfront with Firefox
  5. in the browser open the console with F12
  6. the text appears in the console

Expected behavior:
No hint message should appear in the browser if you have the Cookie Consent Tool active.

Actual behavior:
If the Cookie Consent Tool is installed and active, a message is displayed in the browser indicating that a cookie will be rejected in the future.


Dateien


Aktionen

Auch abrufbar als: Atom PDF