Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.1.0, 2.2.0, 2.1.1, 2.1.2, 2.1.3
Description
The Expires header value has 5, rather than 4, digits for the year portion of the date, e.g.:
Expires: Wed, 22 Jan 02020 22:19:26 +0000
DefaultContentMetadataCodec contains:
httpExpiresDateCodec = dateCodecs.rfc1123();
and SimpleDateFormatDateService, where the RFC1123 codec is implemented, contains:
private static final SimpleDateFormat rfc1123SimpleDateFormat = new SimpleDateFormat("EEE, dd MMM yyyyy HH:mm:ss Z", Locale.US);
Note, it contains 'yyyyy', rather than 'yyyy'.
Attachments
Issue Links
- links to