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

Filenames with spaces stopped working after upgrade to 4.4.1+

XMLWordPrintable

    • MOODLE_404_STABLE

      Filenames with spaces stopped working after upgrade to 4.4.1+. 

      I can upload a file with spaces in the name (i.e. Intake Process.docx) and it is created in the database, but I cannot download it.  I get a file not found error.  This issue is also affecting theme files.  This worked in 4.2

      Here's the error

       
      Sorry, the requested file could not be found

      More information about this error
      Debug info:
      Error code: filenotfound
      Stack trace: * line 2148 of /lib/filelib.php: moodle_exception thrown

      • line 5264 of /lib/filelib.php: call to send_file_not_found()
      • line 44 of /pluginfile.php: call to file_pluginfile()
         
        And yes! I know we shouldn't be using files with spaces in the name, but Teachers and Students are not always aware of it.

            Unassigned Unassigned
            scott.tearle Scott Tearle
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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