Does anyone have an idea about this issue? i use drupal 10 and the module eu cookie compliance
- ๐น๐ทTurkey emircan erkul Turkey
Emircan Erkul โ made their first commit to this issueโs fork.
- ๐น๐ทTurkey emircan erkul Turkey
My PR includes secure attribute options for both. We can not make httpOnly true because eu_cookie_compliance uses those cookies via JS.
If the HttpOnly flag (optional) is included in the HTTP response header, the cookie cannot be accessed through client side script (https://owasp.org/www-community/HttpOnly)
- ๐จ๐พCyprus alex.bukach
alex bukach โ made their first commit to this issueโs fork.
- Issue was unassigned.
- Status changed to Needs review
9 months ago 3:45pm 14 September 2024 - Status changed to Needs work
7 months ago 2:05am 21 November 2024 - ๐จ๐ฆCanada adamcadot St. Catharines, Ontario
The patch does not apply to 8.x-1.25. Needs reroll.
- ๐ฎ๐ณIndia prem suthar Ahemdabad- Gujrat , Jodhpur - Rajsthan
prem suthar โ made their first commit to this issueโs fork.
hi @prem suthar, I updated the module to 1.25, and tried to apply the patch with your new commit. The patch can't apply.
- ๐บ๐ธUnited States kruser
this won't apply to the security release either - 1.26.0
- Merge request !160Changed "secure" and "httpOnly" attributes of the session "cookie-agreed" and... โ (Open) created by alex.bukach
- ๐จ๐พCyprus alex.bukach
Created MR!160 that re-rolls patch #11 against HEAD (still based on the idea of MR!142). Here's the respective patch.
- First commit to issue fork.
- ๐ณ๐ฟNew Zealand atowl
Thanks Alex for the re-roll, i've made some corrections since the setCookies wasn't working.
I removed the version option, as this seems deprecated in modern times, feel free to correct me.
When set in the configuration, the Secure flag will now be set in the cookie.I'm just wondering if someone happens to untick the config option for Secure, should the cookie consent pop up again?
Also - haven't done anything about httpOnly, should we be checking headers? i'm not sure if we can.
i'll leave this in needs review, if the community could test, and i'll look at merging this for the next release.
Thanks!