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

Filenames w/ Spaces Generating incorrect SHA1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: BACKEND
    • Component/s: Files API
    • Labels:
    • Affected Branches:
      MOODLE_22_STABLE
    • Story Points:
      40
    • Sprint:
      BACKEND Sprint 18

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dmonllao David Monllaó
              Reporter:
              kyledecot Kyle Decot
              Participants:
              Component watchers:
              Matteo Scaramuccia, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: