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

Files with special characters cannot be downloaded using WebDAV

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1.3
    • 3.1.4
    • Repositories
    • MOODLE_31_STABLE
    • MOODLE_31_STABLE
    • MDL-57002-master
    • 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

    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

              fred Frédéric Massart
              fred Frédéric Massart
              Damyon Wiese Damyon Wiese
              Andrew Lyons Andrew Lyons
              Rajesh Taneja Rajesh Taneja
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Jan/17