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

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

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 3.10.0alpha1, 3.8.9, 3.9.3
    • 3.8.8, 3.9.2
    • Misc
    • None
    • 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

            dp dp
            amos amos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: