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

Enable JSON mime type by default to avoid loose the extension with long filenames

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.5, 3.4.2, 3.5
    • 3.4.4, 3.5.1, 3.6
    • Privacy
    • GDPR Followup Sprint 1

    Description

      While preparing the unit tests for MDL-62240 I've realised that JSON is not enabled by default. That means that, when exporting data, the extension is lost if the file exceeds the long limit, because JSON is not in the mime types list (so it's not treated as an known extension).

      We should add JSON to the default mime types list now that we're using for the privacy export (to make sure all the files preserve the .json extension).

      Attachments

        Issue Links

          Activity

            People

              vmdef Victor Déniz Falcón
              sarjona Sara Arjona (@sarjona)
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Andrew Lyons Andrew Lyons
              Gladys Basiana Gladys Basiana
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Jul/18

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 10 minutes
                  10m