This repository has been archived by the owner on Apr 13, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
fix($cookies): update $cookies to prevent duplicate cookie writes and…
… play nice with external code Update the ngCookies service to prevent repetitive writes via $browser.cookies() Also it is possible for $cookies to get confused about cookies modified outside of $cookies and see those changes as user changes via the $cookies service which would then be set again. This unnecessary setting of cookies can duplicate or overwrite depending on the original cookie's domain. This update prevents that scenario. Closes #11490 Closes #11515
- Loading branch information
1 parent
c4ae7d2
commit 706a93a
Showing
2 changed files
with
49 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters