Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 1.9.3
-
Fix Version/s: None
-
Component/s: Files API
-
Labels:None
-
Environment:Debian Linux
-
Database:MySQL
-
Difficulty:Easy
-
Affected Branches:MOODLE_19_STABLE
Description
If I upload a SCORM package containing an apostrophe in its name then the "Choose or Upload File..." pop-up window prevents me from selecting it with the "Choose" link due to JavaScript error (basic string handling fault). If I enter the name of the SCORM package myself manually in the Package file field then attempting to import it results in another failure claiming invalid manifest or corrupt file. If I rename the package to exclude the apostrophe the import works normally.
Apostrophes within filenames are supported in Windows FAT32, NTFS and virtually all Linux file systems.
See attached SCORM 1.2 package for test case (351 kB).
Attachments
Issue Links
| This issue duplicates: | ||||
| MDL-6733 | "unzip" uploaded windows-zip-files (filenames have german umlaute äüöß) in coursefiles, the filenames apears very strange (non readable) |
|
|
|
| This issue has a non-specific relationship to: | ||||
| MDL-9703 | Files with special characters in file names can't be deleted |
|
|
|
| MDL-11468 | standardise all filenamse when unzipping |
|
|
|
| MDL-2307 | Special characters left in filenames after unzipping |
|
|
|
| MDL-14231 | Files accidentally uploaded with apostrophes in the filename can't be deleted. |
|
|
|
Sorry, we are not going to support characters like "':|<>&? etc in file names. It is not just about allowing them, we would need to review all main code base and contrib and fix the code.