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

Files with special characters cannot be downloaded using WebDAV

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.1.4
    • Component/s: Repositories
    • Labels:
    • Testing Instructions:
      Hide
      1. Set-up a WebDAV instance
      2. Add folders and files to it
        • Some folders and files must have special characters in them
      3. Confirm that you can add files with and without special characters to your private files
      Show
      Set-up a WebDAV instance Add folders and files to it Some folders and files must have special characters in them Confirm that you can add files with and without special characters to your private files
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-57002-master

      Description

      This was spotted testing MDLQA-10379 and MDLQA-10378.

      When picking a file named "çø.txt", this exception comes up:

      * line 1932 of /lib/filestorage/file_storage.php: file_exception thrown
      * line 1487 of /lib/filestorage/file_storage.php: call to file_storage->add_file_to_pool()
      * line 1335 of /repository/lib.php: call to file_storage->create_file_from_pathname()
      * line 296 of /repository/repository_ajax.php: call to repository::move_to_filepool()
      

      This may affect other repositories.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fred Frédéric Massart
              Reporter:
              fred Frédéric Massart
              Peer reviewer:
              Damyon Wiese
              Integrator:
              Andrew Nicols
              Tester:
              Rajesh Taneja
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Jan/17