Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-1455

Improve the system to retrieve a file extension

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.1.2
    • Component/s: UX (User eXperience)
    • Labels:
    • Issue size:
      Large

      Description

      Right now the filepool only looks for extensions in the URL of a file, so if a URL doesn't contain the file extension then it's going to download the file without it. This causes some problems.

      If an SVG file is downloaded without extension then it's not going to work.

      For example, in quiz we can download the icons:

      {MOODLEURL}/theme/image.php/clean/core/1456928261/i/grade_correct{MOODLEURL}

      /theme/image.php/clean/core/1456928261/i/grade_incorrect

      Also, in iOS we can't open files without extension, they aren't shown. The new Moodle versions add the extension automatically to the files, but I guess old Moodles didn't do that so we've found several Moodles with this problem.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pferre22 Pau Ferrer
              Reporter:
              dpalou Dani Palou
              Peer reviewer:
              Dani Palou
              Integrator:
              Juan Leyva
              Tester:
              Juan Leyva
              Participants:
              Component watchers:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                27/Jul/16

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 week, 2 hours, 30 minutes
                  1w 2h 30m
                  Remaining:
                  0m
                  Logged:
                  Time Not Required
                  Not Specified