gigebyte / cookies

Automatically exported from code.google.com/p/cookies
0 stars 0 forks source link

incorrect empty cookie return value on IE7 #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Sample code:

  $.cookies.set("test_cookie", 123);
  $.cookies.del("test_cookie");
  p = $.cookies.get("test_cookie");

'p' will contain string "undefined" with IE7. On other browsers it will 
contain <null>. Other browsers: FF3, Konqueror, Opera9, Safari3.

We should get <null> on IE7, too.

Original issue reported on code.google.com by nbkolc...@gmail.com on 25 Feb 2009 at 12:03

GoogleCodeExporter commented 9 years ago
Thanks for reporting this.  I believe this is an issue I introduced with the 
change
to default options.  If so, I reported it in Issue #5 and fixed it in r19

I'll take a closer look at your issue and the changes to verify this.

Original comment by auldrid...@gmail.com on 25 Feb 2009 at 1:40

GoogleCodeExporter commented 9 years ago
Confirmed. No bug with trunk version.

Thank you for support.

Original comment by nbkolc...@gmail.com on 25 Feb 2009 at 2:10

GoogleCodeExporter commented 9 years ago
Excellent, thanks!

Original comment by auldrid...@gmail.com on 25 Feb 2009 at 2:15

GoogleCodeExporter commented 9 years ago

Original comment by auldrid...@gmail.com on 25 Feb 2009 at 2:20