https://bugzilla.wikimedia.org/show_bug.cgi?id=27537

           Summary: When SVG file is broken, warn about that, instead of
                    mime failure.
           Product: MediaWiki
           Version: 1.18-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Uploading
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: hart...@videolan.org
                CC: bryan.tongm...@gmail.com


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.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to