Page MenuHomePhabricator

Double extensions not properly detected during uploading
Closed, ResolvedPublic

Description

Author: samj

Description:
Screenshot of error

I attempted to upload a file called 'Image 6.png' and then 'image6.png' using both Firefox 3 and Safari on OS X Leopard but received this error both times:

".png" is not a permitted file type. Permitted file types are png, gif, jpg, jpeg, xcf, pdf, mid, ogg, svg, djvu.


Version: unspecified
Severity: minor

Attached:

Image_6.png (180×791 px, 30 KB)

Details

Reference
bz15004

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:16 PM
bzimport set Reference to bz15004.

samj wrote:

I converted the document to GIF (image6.gif) but still got the same error. Turns out MediaWiki didn't like the name 'Image:Acrobat.com.png' so I changed it to 'Image:Acrobat-com.png' and all was well.

The error was obscure though - should be fixed. Dropping severity.

Bryan.TongMinh wrote:

I'll probably look into this while fixing bug 14925.

  • This bug has been marked as a duplicate of bug 11142 ***