Bug #52356
warning SameSite sur firefox
0%
Description
Cookie “sessionid-wcs-0c3543-passive-auth-tried” 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/Headers/Set-Cookie/SameSite
Fichiers
Révisions associées
misc: add SameSite cookie attribute (fix for erroneous merge) (#52356)
misc: add SameSite cookie attribute (fix2 for erroneous merge) (#52356)
Historique
Mis à jour par Frédéric Péters il y a environ 3 ans
- Fichier Capture d’écran du 2021-03-30 19-25-26.png Capture d’écran du 2021-03-30 19-25-26.png ajouté
- Fichier 0001-misc-add-SameSite-cookie-attribute-52356.patch 0001-misc-add-SameSite-cookie-attribute-52356.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Quelle version de Firefox ? Quel parcours de page ? J'ai tenté différentes choses sans arriver à voir ce message et ce cookie particulier est toujours posé avec secure=True, donc la partie "without the “secure” attribute" me semble bizarre.
Cela dit, voilà le patch pour ajouter du SameSite=None explicite.
Mis à jour par Frédéric Péters il y a environ 3 ans
- Fichier 0001-misc-add-SameSite-cookie-attribute-52356.patch 0001-misc-add-SameSite-cookie-attribute-52356.patch ajouté
+ bout pour assurer la compatibilité python 3.7 de ces tests où j'utilise http.cookies. (+ bout pour modifier la casse dans un test existant, vu que j'ai mis à jour ça pour correspondre à ce qui était noté sur mdn).
Mis à jour par Benjamin Dauvergne il y a environ 3 ans
Frédéric Péters a écrit :
Quelle version de Firefox ?
86.
Quel parcours de page ?
Je n'arrive plus à reproduire le souci non plus :/
Mis à jour par Benjamin Dauvergne il y a environ 3 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Frédéric Péters il y a environ 3 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 86a24e59871235a88a7ea31acaaa9a121670dc95 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Tue Mar 30 20:05:59 2021 +0200 misc: add SameSite cookie attribute (#52356)
Mis à jour par Frédéric Péters il y a environ 3 ans
- Statut changé de Résolu (à déployer) à Solution déployée
misc: add SameSite cookie attribute (#52356)