Last modified: 2006-02-05 18:23:00 UTC
Nowadays, we should upload a PNG version of images as "IMAGE.png", a JPG version of images as "IMAGE.jpg", a SVG version of images as "IMAGE.svg", and so on. Why should it be so? We can just specify the file format (image/gif, image/jpg, image/png or image/svg (or maybe it is text/svg?)) in the upload page, and upload to every name we can choose. (Also, there may be another option, "Auto-Select", and the server may recognize the file type by itself, by the extension of the uploaded file.) The problem may be the fact, JPG images could be a file with the name "IMAGE.svg" in your server - but the browser uses the MIME type, so send the correct MIME type and it will be OK. Look at Bugzilla, for example - all the attachment pages are cgi, and still we can upload every file type. (No names here, of course...) By the way, when the server suggests the file name based on the uploaded file name, it should ignore the extension (in the destination file name) if you include that.
*** This bug has been marked as a duplicate of 4421 ***