angular-cookie icon indicating copy to clipboard operation
angular-cookie copied to clipboard

Encoding should be enforced on key while using a get

Open devsaik opened this issue 10 years ago • 3 comments

Change to angular-cookie.js ipCookie will not be able to fetch values stored in cookie if the key is not encoded while fetching. Correct me if am wrong

devsaik avatar May 31 '15 02:05 devsaik

Reason for my pull request is if my key has a value like this : [email protected], ipCookie will encode the key and while getting it. It will not fetch the value because encoding of key is not enforced while fetching

devsaik avatar May 31 '15 03:05 devsaik

Encoding should be enforced on key while fetching or removing a cookie

devsaik avatar May 31 '15 18:05 devsaik

:+1:

pkallos avatar Oct 01 '15 02:10 pkallos