-
Bug
-
Resolution: Not a bug
-
Minor
-
None
-
4.4.1
-
None
-
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.