Menu

#2 Cookie Date are encoded with the default locale.

Unstable (example)
open
nobody
None
5
2014-05-23
2014-05-23
JeanLaurent
No

Sounds like the expiry date of the cookie written with SimpleFramework are created with the default locale. When your machine is in en_US everything works well, when it's something else than english date are... strange.


foo=bar; version=1; path=/; expires=ven., 23-mai-2014 12:48:55 GMT; max-age=60

where it should be


foo=bar; version=1; path=/; expires=Fri, 23-May-2014 12:49:39 GMT; max-age=60

I've written a simple unit test which shows the bug, and a quick fix to the cookie, you'll find both in the included patch.

1 Attachments

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.