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

clean_filename does not remove ? or * from filenames.

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.3.3
    • STABLE backlog
    • Libraries
    • 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

        1. bug-01.jpg
          112 kB
          Carlos Alexandre S. da Fonseca

        Issue Links

          Activity

            People

              moodle.com Moodle HQ
              damyon Damyon Wiese
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              7 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated: