jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-1538) Expires header value is incorrectly formatted in S3 upsert requests
Date Fri, 24 Jan 2020 14:36:00 GMT

    [ https://issues.apache.org/jira/browse/JCLOUDS-1538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17022983#comment-17022983
] 

ASF subversion and git services commented on JCLOUDS-1538:
----------------------------------------------------------

Commit 8949bc10d3e5f8f485d142931e7dda3a8a0afc51 in jclouds's branch refs/heads/2.2.x from
Ian Springer
[ https://gitbox.apache.org/repos/asf?p=jclouds.git;h=8949bc1 ]

JCLOUDS-1538: fix typo in rfc1123SimpleDateFormat (#60)



> Expires header value is incorrectly formatted in S3 upsert requests
> -------------------------------------------------------------------
>
>                 Key: JCLOUDS-1538
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1538
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-core
>    Affects Versions: 2.1.0, 2.2.0, 2.1.1, 2.1.2, 2.1.3
>            Reporter: Ian Springer
>            Priority: Major
>              Labels: s3
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The Expires header value has 5, rather than 4, digits for the year portion of the date,
e.g.:
>  
> {code:java}
> Expires: Wed, 22 Jan 02020 22:19:26 +0000
> {code}
>  
> DefaultContentMetadataCodec contains:
>  
> {code:java}
> httpExpiresDateCodec = dateCodecs.rfc1123();
> {code}
>  
> and SimpleDateFormatDateService, where the RFC1123 codec is implemented, contains:
>  
> {code:java}
> private static final SimpleDateFormat rfc1123SimpleDateFormat = new SimpleDateFormat("EEE,
dd MMM yyyyy HH:mm:ss Z", Locale.US);
> {code}
>  
> Note, it contains 'yyyyy', rather than 'yyyy'.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message