Last modified: 2014-10-07 15:34:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T29537, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27537 - When SVG file is broken, warn about that, instead of mime failure.
When SVG file is broken, warn about that, instead of mime failure.
Status: NEW
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
1.18.x
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-18 15:11 UTC by Derk-Jan Hartman
Modified: 2014-10-07 15:34 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Derk-Jan Hartman 2011-02-18 15:11:39 UTC
To quote a user;

I tried to upload a SVG file with 2 accidental errors which both make uploading the image fail: missing xmlns="..." 

what bothered me was the error message: "File extension does not match MIME type." This is just uninformative and unhelpful. Could it be improved? 


The user is right, I should get it to return a more useful error than that. We probably have to separate the mime checking, from the file validation error responses. We do both now in mimemagic, but the error messages only really account for MIME matching.
Comment 1 Thehelpfulone 2012-06-22 19:40:49 UTC
Reassigning to wikibugs-l per bug 37789

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links