Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-12133

Update list of browsers supporting filename* in Content-Disposition

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.10-RC1
    • 3.0.12, 3.1.0-a2
    • None
    • None

      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.

            Marc Marc
            Noxwizard Patrick Webster
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: