I got a few "file corrupt" errors today when transferring from Flickr. I though it was just bad luck, but then I downloaded one, saved it with Photoshop to a new fileWhen uploading https://farm9.staticflickr.com/8373/8413677741_e1cbafaa06_o_d.jpg (from https://www.flickr.com/photos/44112235@N04/8413677741), tried to upload, same error`Special:Upload` gives
> This file contains HTML or script code that may be erroneously interpreted by a web browser. Tried again, saving in different quality, same thing.
Other software (e.g. Mac preview) has no problem with it either.See the [[ https://commons.wikimedia.org/wiki/Commons:FAQ#What_does_the_upload_error_This_file_contains_HTML_or_script_code_that_may_be_erroneously_interpreted_by_a_web_browser._mean.3F | FAQ ]] for more information.
but the API gives
> This file might be corrupt, Even gotor have the MediaWiki upload wizard thumbnail preview, but still the error.wrong extension.
(`api-error-verification-error`) which is not helpful, Example:
https://www.flickr.com/photos/44112235@N04/8413677741 (direct link: https://farm9.staticflickr.com/8373/8413677741_e1cbafaa06_o_d.jpg)especially given that the file is probably entirely valid, it just has a risk of running afoul of the buggy MIME type sniffing logic in in IE 5-7.