Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S sg_cookie_optin
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 16
    • Issues 16
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • TYPO3
  • sg_cookie_optin
  • Issues
  • #212
Closed
Open
Created Mar 25, 2022 by karoline steinfatt@ks

wrong cookie path (in subdirectory site)

This issue is related to issue 193

We have a site (example.com) that has several country sub-sites as separate trees as a country directory under the main domain.

main site: base: 'https://www.example.com/' country site (separate tree with own site root): base: 'https://www.example.com/it - https://www.example.com/fr etc.'

We use the cookie optin extension to save the consent to analytics cookies.

In all cases the consent cookie gets set to the root path (path /). But in case of the sub-sites it should be correctly placed in the path of the server root (path /it or /fr).

If all cookies are set into the root site the consent (that might just be valid for a country sub-site) is valid for every site on the server.

Assignee
Assign to
Time tracking