Return-Path: X-Original-To: apmail-portals-pluto-dev-archive@www.apache.org Delivered-To: apmail-portals-pluto-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E6F8D99D7 for ; Thu, 19 Apr 2012 16:03:06 +0000 (UTC) Received: (qmail 86470 invoked by uid 500); 19 Apr 2012 16:03:06 -0000 Delivered-To: apmail-portals-pluto-dev-archive@portals.apache.org Received: (qmail 86320 invoked by uid 500); 19 Apr 2012 16:03:06 -0000 Mailing-List: contact pluto-dev-help@portals.apache.org; run by ezmlm Precedence: bulk Reply-To: pluto-dev@portals.apache.org list-help: list-unsubscribe: List-Post: Reply-To: pluto-dev@portals.apache.org List-Id: Delivered-To: mailing list pluto-dev@portals.apache.org Received: (qmail 86303 invoked by uid 99); 19 Apr 2012 16:03:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2012 16:03:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2012 16:03:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5109F3A3F9A for ; Thu, 19 Apr 2012 16:02:41 +0000 (UTC) Date: Thu, 19 Apr 2012 16:02:41 +0000 (UTC) From: "Eric Dalquist (Created) (JIRA)" To: pluto-dev@portals.apache.org Message-ID: <1895660615.6425.1334851361333.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (PLUTO-614) HttpServletPortletResponseWrapper doesn't format date headers correctly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org HttpServletPortletResponseWrapper doesn't format date headers correctly ----------------------------------------------------------------------- Key: PLUTO-614 URL: https://issues.apache.org/jira/browse/PLUTO-614 Project: Pluto Issue Type: Bug Affects Versions: 2.0.4 Reporter: Eric Dalquist Assignee: Eric Dalquist Fix For: 2.0.4, 2.1.0 HttpServletPortletResponseWrapper addDateHeader and setDateHeader simply convert the long value to a String. This is incorrect, a DateHeader in a HttpServletResponse is a time-since-epoch in milliseconds value that must be formatted as: "EEE, dd MMM yyyy HH:mm:ss Z" Since MimeResponse.setProperty only takes Strings for values the HttpServletPortletResponseWrapper should do the long to date string formatting before calling MimeResponse.setProperty or addProperty -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira