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

MS IIS: plus character in uploaded filename gives error on access.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.11.8, 4.0.2
    • None
    • Files API
    • None

    Description

      Upload of file with plus  character in name (example is 1+.docx), will result in the following error on access:
      "Can not find data record in database table resource."

      In looking at some other special characters, some are encoded and some are stripped. Plus correctly appears as %2B in the URL generated for access.

      This task has already been, but for earlier versions of the moodle (https://tracker.moodle.org/browse/MDL-23567). There was also no solution.

      I'm facing the same problem Now 

      Moodle 4.0.2, IIS 10, PHP 8.0, MariaDB 10.8

      <requestFiltering allowDoubleEscaping="true"/>

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              олексійбуренко Олексій Буренко
              Matteo Scaramuccia, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: