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

Update list of browsers supporting filename* in Content-Disposition

    Details

    • Type: Task
    • Status: Unverified Fix (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.12, 3.1.0-a2
    • Fix Version/s: 3.1.10-RC1
    • Component/s: None
    • Labels:
      None

      Description

      When generating a download, we check the browser's user agent before writing the filename parameter of the Content-Disposition header. For some browsers, we use the filename field, while for the rest we use filename*. At the moment, Chrome supports filename*, but is grouped with Safari which we only set filename for. We should probably update the browser list in header_filename() to make sure that we are still sending down the correct field. RFC 6266 indicates that we can actually specify both parameters, so we might consider doing that.

        Attachments

          Activity

            People

            • Assignee:
              Marc Marc
              Reporter:
              Noxwizard Noxwizard
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: