Last modified: 2010-05-15 15:38:03 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 T5076, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3076 - Uploading .ogg file generates corrupted error message (Mac IE)
Uploading .ogg file generates corrupted error message (Mac IE)
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
1.5.x
Macintosh Mac System 9.x
: Normal minor (vote)
: ---
Assigned To: Brion Vibber
http://en.wikipedia.org/wiki/Special:...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-08 20:47 UTC by David Wu
Modified: 2010-05-15 15:38 UTC (History)
1 user (show)

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


Attachments

Description David Wu 2005-08-08 20:47:55 UTC
It was suggested that I post here from Wikipedia's technical village pump. When attempting to upload an 
.ogg file on Wikipedia English, I receive the following message: "The file is corrupt or has an incorrect 
extension. Please check the file and upload again." I can play the OGG file without any problem using 
Mint Audio and the extension is correct.

I recorded the file using Audacity 1.0.0.1 and exported as a WAV file. It was converted to an AIF file using 
Ultra Recorder 2.4.2. Finally, it was converted to an OGG file using Ogg Drop 1.0b2.

I am running Mac System 9.0 on a Powerbook G3. I realize that the setup is fairly archaic, and I have a 
suspicion that the somewhat antiquated software used to generate the final product is causing 
MediaWiki to flag the file as hazardous.
Comment 1 Brion Vibber 2005-08-09 00:19:16 UTC
Can you attach the file here, or upload it elsewhere, to test with?
Comment 2 David Wu 2005-08-09 03:42:56 UTC
I'm trying to find a place, but it's proving problematic. The filesize is around
10MB, well over the limit for posting here.
Comment 3 David Wu 2005-08-10 21:43:32 UTC
I've cropped off about the first quarter of the AUP file and reprocessed it into an OGG file. It's still being flagged by 
MediaWiki as corrupt. I've finally found a place to upload the file but the interface is sketchy. I apologize for the 
inconvenience. To download it for inspection:

1) Go to www.punchwebgroups.com
2) Login with username: D. Wu, password: punchgroups
3) Click on "ogg upload" in the directory listing on the left hand side
4) Click on "Attack on Pearl Harbor.ogg" in the directory listing on the left hand side
5) Click on "Download This" and follow further instructions
Comment 4 Brion Vibber 2005-08-12 06:43:37 UTC
Internet Explorer for Mac apparently encodes file uploads as MacBinary for 
types it doesn't recognize (GIF, PNG, and JPEG images seem to go through 
without encoding).

At a minimum I can set it up to recognize this and show a more descriptive 
error; might be able to extract the data as well, though.
Comment 5 Brion Vibber 2005-08-12 10:59:38 UTC
This affects IE 5.2 on Mac OS X as well as Classic.
Comment 6 Brion Vibber 2005-08-12 13:04:03 UTC
Fix checked into HEAD:

http://cvs.defau.lt/cvsweb.cgi/phase3/includes/SpecialUpload.php.diff?
r1=1.75&r2=1.76
http://cvs.defau.lt/cvsweb.cgi/~checkout~/phase3/includes/MacBinary.php?
rev=1.1&content-type=text/plain

Maybe want to poke at it a bit before committing to REL1_5 for the live site, 
but it seems to work with IE 5.2.3 on Mac OS X 10.4.2 and IE 5.0 running under 
Classic.

Note: uploading with Mozilla or Netscape should also work fine, as they don't 
seem to do the extra MacBinary encoding.
Comment 7 Brion Vibber 2005-08-21 23:26:21 UTC
Wikipedia is now running on the version with this fix, so it should be working. Please 
reopen if problems continue.

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


Navigation
Links