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

Improve the system to retrieve a file extension

XMLWordPrintable

    • Large

      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.

            pferre22 Pau Ferrer
            dpalou Dani Palou
            Dani Palou Dani Palou
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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