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

clean_filename does not remove ? or * from filenames.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.3.3
    • Fix Version/s: STABLE backlog
    • Component/s: Libraries
    • Labels:
    • Affected Branches:
      MOODLE_23_STABLE

      Description

      ? and * are reserved characters on windows and are not allowed in filenames.

      MSDN Doc:
      http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx

      (I confirmed this on Windows 7 on an NTFS volume)

      clean_filename does not remove these characters from filenames which prevents these files from being downloaded/unzipped on windows.

      Changing this will need extensive testing.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              moodle.com moodle.com
              Reporter:
              damyon Damyon Wiese
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              7 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated: