This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Cookie path not settable using $cookies service #1786
Closed
Description
When using the $cookies service, there is no easy way to set the path of the cookie to match every path on the domain.
On line 3137 of angular.1.0.2.js the path of all cookies created is set as self.baseHref()
When trying to write the same cookie from different paths this results in additional cookies being created due to the different path.
With no facility implemented to pass in a path, the path needs to be hard coded in order to be changed.