Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-10821

Wrong HTTP (RFC1123) dates in Expires, Last-Modified

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 3.8.8, 3.9.2
    • Fix Version/s: 3.10.0alpha1, 3.8.9, 3.9.3
    • Component/s: Misc
    • Labels:
      None
    • Environment:

      Operating System: N/A
      PHP Version: N/A
      Database and version: N/A
      Browser (and version): N/A

      Description

      eZ publish will generate invalid HTTP dates on Expires and Last-Modified headers, the problem is the missing " GMT" at the end of the date.
      These headers must have dates conforming to the RFC1123 standard:
      http://www.freesoft.org/CIE/RFC/1945/14.htm

      This has been fixed in some places by earlier bugfixes but there still are some errors present.
      They can be found with:

      grep -H -n -i gmdate -R kernel lib
      

      or

      grep -H -n -i -E 'expires|last-modified' -R kernel lib
      

        Attachments

          Activity

            People

            • Assignee:
              dp Disabled User
              Reporter:
              amos Jan Borsodi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: