Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

$cookieStore.put() fails in safari ios & android #1090

Closed
martymartino opened this issue Jun 22, 2012 · 8 comments
Closed

$cookieStore.put() fails in safari ios & android #1090

martymartino opened this issue Jun 22, 2012 · 8 comments

Comments

@martymartino
Copy link

$cookieStore.put() has stopped working in ios and android in all releases after rc5

@RichJohnson2
Copy link

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.

@C0deS1ayer
Copy link

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.

@patrickjamesbarry
Copy link

I have fallen back to using jstorage and it works great (if you need a temp work-around). http://www.jstorage.info/

@dankrz
Copy link

dankrz commented Aug 28, 2012

+1
Please fix it, it's serious issue. (in IE)

@mhevery
Copy link
Contributor

mhevery commented Aug 31, 2012

please provide a plunker/jsfiddle use case.

@nilnullzip
Copy link

A fix/workaround:

#1191 (comment)

@sansnom
Copy link

sansnom commented Jan 3, 2013

Here is a jsfiddle: http://jsfiddle.net/sansnom/6ALNN/

@IgorMinar
Copy link
Contributor

fixed by 7090924

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

9 participants