[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 Feb 5 17:24:51 CET 2021


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

--- Comment #28 from Andrew Isherwood <andrew.isherwood at ptfs-europe.com> ---
Created attachment 116423
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=116423&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.

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


More information about the Koha-bugs mailing list