appnexus / cmp

Consent Management Platform Reference Implementation
Apache License 2.0
84 stars 49 forks source link

refactor (cookie: domain) allow wildcard cookie domain on naked primary domain #145

Closed potench closed 4 years ago

potench commented 4 years ago

background

Previously, when setting a wildcard cookieDomain: '.example.com' and visiting the site at the naked domain https://example.com, the cookieDomain would default to null. Ideally though, it should allow the wildcard in this case.

test plan

yarn test