codefog / contao-cookiebar

Display the information about cookies on your Contao website
MIT License
26 stars 9 forks source link

Path with folder URLs activated #15

Closed de-es closed 8 years ago

de-es commented 8 years ago

When folder URLs are enabled in the front end configuration and I accept the cookie on a subpage like

http://mydomain.com/products/myproduct.html

the cookie bar will return on other pages outside this folder. This is because the cookie path is set to /products/.

Shouldn't the root path be set in the setCookieBar function?

qzminski commented 8 years ago

Can you check if 1.1.1 fixes that issue?

https://github.com/codefog/contao-cookiebar/archive/hotfix/1.1.1.zip

de-es commented 8 years ago

Works like a charm. Thanks for your quick response.

qzminski commented 8 years ago

I am releasing a new version then.