Fix the case when the cookie string started with "; " #117

wants to merge 1 commit into from

2 participants


We have seen sometimes IE 7 returns a cookie string starting with "; ", since the first cookie value in this case would be null, using $.cookie() to get other cookie values will always return null.


Probably the same as #88.


Should be combined or be fixed anyway with #104.

@carhartl carhartl referenced this pull request Oct 12, 2012

Cookie Not working in IE9 #119

@carhartl carhartl added a commit that closed this pull request Oct 12, 2012
@carhartl Fixing IE issue, where cookie values were not read correctly because
of duplicate occurrences of "; ", fixes #88, fixes #117.
@carhartl carhartl closed this in fd254dd Oct 12, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment