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

Allow Content-Disposition for binary files to be configurable

    XMLWordPrintable

Details

    Description

      Currently, all binary files are being downloaded in the browser because the Content-Disposition header is set to "attachment". A developer should be able to modify this globally and per MIME type.

      In eZ Publish legacy, there are settings for this:

      https://github.com/ezsystems/ezpublish-legacy/blob/master/settings/file.ini#L99

      In eZ Platform, we have this bundle from Contextual Code, but it should be part of the core:

      https://ezplatform.com/packages/contextualcode-ezplatform-content-disposition-bundle

      Attachments

        Activity

          People

            Unassigned Unassigned
            3427b0be-ab4e-4614-8af1-1719f7f23944@accounts.ibexa.co Peter Keung
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: