Reproduce this defect in angular-cookies 1.3.x by:
- cloning this repo
git clone - install dependencies
npm install - Edit hosts to add an entry for
127.0.0.1 subdomain.domain.com - start the express server
npm start - open a browser that allows viewing of cookies in developer tools to subdomain.domain.com:3000
- click the
Add Vanilla Cookiebutton to create the first cookie - change the value of the vanilla cookie textbox so that the next time the cookie is set the value will change
- click the
Add Both Cookiesbutton - notice that the vanilla cookie has been duplicated to the subdomain
Here's a video uploaded to Youtube demonstrating the defect. https://www.youtube.com/watch?v=bygZlngF-uM