[Koha-bugs] [Bug 27378] Enable compliance with EU Cookie Legislation via cookie consent

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 26 14:18:26 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27378

Matt Blenkinsop <matt.blenkinsop at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #135316|0                           |1
        is obsolete|                            |

--- Comment #109 from Matt Blenkinsop <matt.blenkinsop at ptfs-europe.com> ---
Created attachment 151742
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151742&action=edit
Bug 27378: Add cookie domain and path

A subtlety I missed was that some tracking services, such as Google
Analytics, specify a cookie domain and path that differ from the
default. E.g. on a site with a domain of demostaff.koha-ptfs.co.uk, the
GA cookie will have a domain of '.koha-ptfs.co.uk' and a path of '/',
even though the cookie may have been set at a different path.

Both of these things makes sense, but of course unless we also specify
both of those things when we try to delete a previously set cookie, we
cannot.

Therefore, I have added two more bits of metadata to each "consent",
Cookie Domain and Cookie Path. It is necessary for an admin creating a
"consent" entry to know and specify these values. They can be
established by looking a cookie set by the service being configured.

This adds more complexity to setting up a consent, but we cannot remove
previously set cookies without it.

Signed-ff-by: Barry Cannon <bc at interleaf.ie>
(cherry picked from commit 2221f55646eb1675888725282005a613435ef0df)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list