Project: moodle
Issue MDL-34587: Filenames w/ Spaces Generating incorrect SHA1
I have encountered two different places in which files uploaded w/ spaces in their filenames cause an incorrect SHA1 hash to be generated, resulting in a "missing" file. There are probably additional places in which this bug exists but the two functions that I have found thus far are: resource_pluginfile page_pluginfile
Story points: 40