https://bugzilla.wikimedia.org/show_bug.cgi?id=40479
Web browser: ---
Bug #: 40479
Summary: File extensions should be automatically decided by
MIME type
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Uploading
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
Breaking this of related bug 32660, which was broken off of bug 4421. This
would also solve bug 29284.
As MW detects the MIME type of the file as it is being uploaded, it should not
rely on the uploader to provide a file extension. Rather the file type should
be set automatically by the software. Any extension detected in the name should
be automatically removed.
For example if Cheese.JPEG is uploaded, but the MIME type is PNG, the file
should be named Cheese.png, and not Cheese.JPEG.png. If that MIME type is
correct, it should simply be named Cheese.jpg. This should also create a notice
for the uploader, so they don't lose track of their uploaded file.
Obviously this will not fix existing issues mentioned in the first two bugs,
but it will prevent future issues.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l