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

Add jar files extension to mimetypes

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.3.1
    • Fix Version/s: None
    • Component/s: Filepicker
    • Labels:
    • Affected Branches:
      MOODLE_23_STABLE

      Description

      Filepicker and filemanager can be configured to accept many mimetypes (https://github.com/moodle/moodle/blob/master/lib/filelib.php#L1360). However, it seems .jar files can not be defined at the moment.

      I'd love to see an 'accepted_types' => 'application/java-archive' option for the filepicker and the filemanager elements.

      Thanks

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: