[HtmlUnit] [htmlunit:bugs] #1998 Cookie expiration data parsing wrong

RBRi via HtmlUnit-develop <[email protected]> Tue, 23 Oct 2018 19:12:31 -0000
Newsgroups gmane.comp.java.htmlunit.devel
Message-ID </p/htmlunit/bugs/1998/e06fb90fb3afa42f811578f06202cc083342387d.bugs@htmlunit.p.sourceforge.net>
- **status**: accepted --> closed
- **Comment**:

Fixed in SVN; tahnaksfor reporting.

As soon as the (new) build server is ready you can download a new build at 
http://83.169.43.181/jenkins/job/HtmlUnit%20-%20Fast%20Build/

Will inform on https://twitter.com/HtmlUnit if a new SNAPSHOT build is available for maven.



---

** [bugs:#1998] Cookie expiration data parsing wrong**

**Status:** closed
**Group:** 2.33
**Created:** Tue Oct 23, 2018 01:18 AM UTC by Rural Hunter
**Last Updated:** Tue Oct 23, 2018 06:57 PM UTC
**Owner:** RBRi


Htmlunit fails to set a cookie. I checked the source and found the expiration data was parsed wrongly.
The cookie expiration string is "Sun Jan 20 2019 17:45:00 GMT+0800 (CST)". Htmlunit parses it to 0001-4-13 11:17:45 then regards it as expired. Real browser(Firefox) handles it correctly.


---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/htmlunit/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

_______________________________________________
HtmlUnit-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop