Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-35282

Moodle 2.3 Treats Pub files as Word files (sets as Word MIME Type)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.3.1, 2.6.1
    • Filepicker, Files API
    • MOODLE_23_STABLE, MOODLE_26_STABLE
    • Easy

      When we upload Publisher files (.pub) they are being treated by Moodle as Word files which in turn creates issues when students try to download them, and Word attempts to open them.

      • Moodle displays the Word Icon for the Publisher File Type
      • Moodle stores in mdl_files a Publisher file with mime_type application/msword rather than application/vnd.ms-publisher. File name in mdl_files displays as "whatever.pub".

      Adjusting the mime type in the database to Publisher's fixes the issue (however the Word icon still displays) but the file will download fine.

      Please advise how to resolve this or if this issue will be fixed.

      I have checked that the MIME type is correctly listed in IIS 7.5 MIME List.

      Running the latest build of Moodle 2.3 on Windows Server 2008 on IIS 7.5 using PHP 5.3.13.

            Unassigned Unassigned
            adam12 Adam Waterfield
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.