This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27.4k
$cookieStore.put() fails in safari ios & android #1090
Labels
Comments
Also fails on IE. I traced the failure to "cookiePath" being undefined. The Cookies API calls the function "baseHref" which has this line that seems to be incorrect: var href = baseElement.attr('href'); Setting href to be the page URL fixes the cookies issue on IE and Safari. The undefined didn't seem to bother Chrome and FF. |
Do you have the exact fix you implemented? I've been having this issue since 9.19 and been patching with pure JS cookie saves this whole time. |
I have fallen back to using jstorage and it works great (if you need a temp work-around). http://www.jstorage.info/ |
+1 |
please provide a plunker/jsfiddle use case. |
A fix/workaround: |
Here is a jsfiddle: http://jsfiddle.net/sansnom/6ALNN/ |
fixed by 7090924 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
$cookieStore.put() has stopped working in ios and android in all releases after rc5
The text was updated successfully, but these errors were encountered: