Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-14483

call to header(arg, arg) function sendHeaders() in Response.php causes Error 500 in app.php generated links

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.7-pl1, 3.1.8-RC1, 3.1.8
    • Fix Version/s: 3.1.9-RC1
    • Component/s: Extensions
    • Environment:
      PHP 5.4.40, MySQL 5.1.71-community-log, Firefox 38.6

      Description

      As per this support topic, the call header($name.': '.$value, false) by sendHeaders() function into the vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php file causes Error 500 into app.php generated pages; a solution to this issue is to set to true the second argument.

      It seems that this function generates a new header Content-Type along some other Content-Type already generated, thus breaking HTTP standard hence triggering the error.

      Unfortunately, the vendor folder doesn't seem to be up into the repository; moreover, I don't even know what other collateral effects the change of that call may trigger, so I cannot submit a patch to this issue.
      Moreover, since I have no clue about the changes to this file from 3.1.7-PL1 to 3.1.8.RC1, I have to mark this bug affecting latter version as well.

        Attachments

          Activity

            People

            • Assignee:
              Marc Marc
              Reporter:
              Mauron Mauron
            • Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: