You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Darren Hague (JIRA)" <ji...@apache.org> on 2014/07/17 16:35:04 UTC
[jira] [Created] (HTTPCLIENT-1529) DateUtils.parseDate not fully
compliant with RFC 1123
Darren Hague created HTTPCLIENT-1529:
----------------------------------------
Summary: DateUtils.parseDate not fully compliant with RFC 1123
Key: HTTPCLIENT-1529
URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1529
Project: HttpComponents HttpClient
Issue Type: Bug
Components: HttpClient
Affects Versions: 4.3.4
Reporter: Darren Hague
RFC-1123 (http://www.ietf.org/rfc/rfc1123.txt ) says:
There is a strong trend towards the use of numeric timezone
indicators, and implementations SHOULD use numeric timezones
instead of timezone names. However, all implementations MUST
accept either notation. If timezone names are used, they MUST
be exactly as defined in RFC-822.
Ruby on Rails v4 issues cookies with a numeric timezone in the expiry date.
DateUtils.parseDate() is used by HtmlUnit to parse the expiry date of cookies.
This bug means that HtmlUnit does not correctly deal with cookie expiration when talking to a Ruby on Rails application.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org