Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compliance cookie not deleting if domain specified as .example.com #419

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

Caffe1neAdd1ct
Copy link

On deploying to our staging environment the compliance cookie was refusing to delete on clicking the reset consent button e.g:

klaro.getManager(klaroConfig).resetConsents(); klaro.show(klaroConfig);

The initial consent manager showed until the page was refreshed and the previous consent restored from the not-yet-deleted-cookie, resulting in non-compliance.

It was working fine on localhost but not staging.ourdomain.com with the "cookieDomain" set to ".staging.ourdomain.com".

I hope this is a relevant / good change, if good and you need the /dist/ contents regenerated and committed/pushed please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant