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

ezodf and application/octet-stream

    XMLWordPrintable

Details

    Description

      ezopenofficeuploadhandler is used for handling uploads of all files with mime type application/octet-stream

      In upload.ini.append.php of the ezodf extension:

      [CreateSettings]
      
      # Upload handler setting for stock 3.6
      MimeUploadHandlerMap[application/octet-stream]=ezopenofficeuploadhandler
      

      A lot of other files are application/octet-stream, and uploading them fails because of this setting.

      Workaround: disable ezodf or remove the setting.

      Moving the mime types defined in lib\ezutils\classes\ezmimetype.php to an INI file would also allow us to add custom types which now default to application/octet-stream (for example http://en.wikipedia.org/wiki/XPI ).

      Attachments

        Activity

          People

            vp vp
            cyberwolf cyberwolf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: