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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.5, 3.4.2, 3.5
    • Fix Version/s: 3.4.4, 3.5.1, 3.6
    • Component/s: Privacy
    • Labels:
    • Sprint:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Jul/18

                  Time Tracking

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