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

Custom HTTP headers create duplicate values

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Medium Medium
    • Resolution: Fixed
    • Affects Version/s: 5.1, 5.2-alpha1
    • Component/s: None
    • Labels:
      None
    • Environment:

      eZ Publish 5.1 Platform with symfony stack

      Description

      Setting custom headers in the site.ini.append.php file:

      [HTTPHeaderSettings]
      CustomHeader=enabled
      HeaderList[]
      HeaderList[]=Cache-Control
       
      Cache-Control[]
      Cache-Control[/]=public, max-age=1800, smax-age=1800
      

      Generates a: "Cache-Control: public, max-age=1800, smax-age=1800, must-revalidate, no-cache, private"
      header instead of just "Cache-Control: public, max-age=1800, smax-age=1800".

      Further Notes:

      When viewed under Google Chrome, the headers are displayed as:

      Cache-Control:must-revalidate, no-cache, private
      Cache-Control:public, max-age=1800, smax-age=1800
      

      The first line appears to originate from PHP's built-in session.cache_limiter

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          3m 13s 1 nuno.oliveira@ez.no 28/Oct/13 6:27 PM
          Confirmed Confirmed InputQ InputQ
          16h 12m 1 Gunnstein Lye 29/Oct/13 10:40 AM
          InputQ InputQ Development Development
          37m 32s 1 yannick.roger@ez.no 29/Oct/13 11:17 AM
          Development Development Development Review Development Review
          14d 1 yannick.roger@ez.no 12/Nov/13 11:18 AM
          Development Review Development Review Development Review done Development Review done
          12m 14s 1 yannick.roger@ez.no 12/Nov/13 11:30 AM
          Development Review done Development Review done Documentation Review done Documentation Review done
          7s 1 yannick.roger@ez.no 12/Nov/13 11:30 AM
          Documentation Review done Documentation Review done QA QA
          2d 12h 59m 1 Filipe Dobreira (Inactive) 15/Nov/13 12:30 AM
          QA QA Closed Closed
          3d 11h 43m 1 pedro.resende@ez.no 18/Nov/13 12:13 PM

            People

            • Assignee:
              Unassigned
              Reporter:
              Nuno Oliveira (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 7 hours
                2d 7h