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

Moodle 2.1.2 - Problem with Unziping zip files that contain special characters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.1.1, 2.1.2
    • Fix Version/s: None
    • Component/s: Files API
    • Labels:
      None
    • Environment:
      Server: LAMP (CentOS 6)
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_21_STABLE
    • Testing Instructions:
      Hide

      Created a zip file containing several files and folders (both file and folder names either using special characters or no special characters at all) - I created with 7-Zip and Windows Internal zip procedure, in a Windows 7 machine.
      Then, in Moodle 2.1.2, created an folder resource, uploaded the zip file and tried to uncompress it.
      As a result, only the files and folders not containing special characters got unziped.

      Show
      Created a zip file containing several files and folders (both file and folder names either using special characters or no special characters at all) - I created with 7-Zip and Windows Internal zip procedure, in a Windows 7 machine. Then, in Moodle 2.1.2, created an folder resource, uploaded the zip file and tried to uncompress it. As a result, only the files and folders not containing special characters got unziped.

      Description

      I have a problem with unzipping zip files that contain files with special characters in their names. When I try to unzip such a zip file, it ignores the files that have special characters (do not unzip those files) and unzips only the others.
      The same occurs if the zip file has folders with special characters - this folders are not created, neither are all the files that it contains (wether having special characters or not).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              danmarsden Dan Marsden
              Reporter:
              pcrispim Pedro Crispim
              Participants:
              Component watchers:
              Matteo Scaramuccia, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: