hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darren Hague (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1529) DateUtils.parseDate not fully compliant with RFC 1123
Date Thu, 17 Jul 2014 14:35:04 GMT
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


Mime
View raw message