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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0, 2.6.5, 2.7.2
    • Fix Version/s: STABLE backlog
    • Component/s: Files API
    • Labels:
    • Environment:
      Moodle 2.0 Preview 4+ (Build: 20100727) running on Ubuntu 10.4, accessed with Mac browsers (Safari or Camino)
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE

      Description

      Upload of file with plus character in name (example is z+z.txt), 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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              matteo Matteo Scaramuccia
              Reporter:
              glewis Gary Lewis
              Participants:
              Component watchers:
              Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              12 Vote for this issue
              Watchers:
              12 Start watching this issue

                Dates

                Created:
                Updated: