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] [Resolved] (HTTPCLIENT-1530) DateUtils.parseDate not fully compliant with RFC 1123
Date Thu, 17 Jul 2014 15:07:06 GMT

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Darren Hague resolved HTTPCLIENT-1530.
--------------------------------------

    Resolution: Not a Problem

I should think more before raising a ticket...

DateUtils.parseDate("Fri, 14 Oct 2005 00:00:00 -0000") works fine - might be worth adding
this case to TestDateUtils


> DateUtils.parseDate not fully compliant with RFC 1123
> -----------------------------------------------------
>
>                 Key: HTTPCLIENT-1530
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1530
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.3.4
>            Reporter: Darren Hague
>            Priority: Minor
>             Fix For: 4.3.5, 4.4 Alpha2
>
>
> 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