Page MenuHomePhabricator

Setting $wgVerifyMimeType to false causes upload failure with "Undefined variable mime in UploadBase.php line 420"
Closed, ResolvedPublic

Description

Author: mfeldman

Description:
Summary says it all.


Version: 1.21.x
Severity: minor

Details

Reference
bz49717

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:59 AM
bzimport set Reference to bz49717.
bzimport added a subscriber: Unknown Object (MLST).

Related URL: https://gerrit.wikimedia.org/r/69257 (Gerrit Change If1d6e8fed575bf2816a10db066ec4e023460ee1e)

Thanks for reporting this.

So, does this need backporting?

Change 69257 merged by jenkins-bot:
Follow-up 42333412833a - Fix behaviour $wgVerifyMimeType = false;

https://gerrit.wikimedia.org/r/69257

Change 80496 had a related patch set uploaded by Brian Wolff:
Follow-up 42333412833a - Fix behaviour $wgVerifyMimeType = false;

https://gerrit.wikimedia.org/r/80496

Change 80504 had a related patch set uploaded by Brian Wolff:
Follow-up 42333412833a - Fix behaviour $wgVerifyMimeType = false;

https://gerrit.wikimedia.org/r/80504

Change 80508 had a related patch set uploaded by MarkAHershberger:
Follow-up 42333412833a - Fix behaviour $wgVerifyMimeType = false;

https://gerrit.wikimedia.org/r/80508

Remarking as fixed - Its fixed in master. I'm hoping the patch will get backported to stable before the next security release.

Change 80504 merged by jenkins-bot:
Follow-up 42333412833a - Fix behaviour $wgVerifyMimeType = false;

https://gerrit.wikimedia.org/r/80504

Change 80496 merged by jenkins-bot:
Follow-up 42333412833a - Fix behaviour $wgVerifyMimeType = false;

https://gerrit.wikimedia.org/r/80496

Change 80508 merged by jenkins-bot:
Follow-up 42333412833a - Fix behaviour $wgVerifyMimeType = false;

https://gerrit.wikimedia.org/r/80508

Was backported to 1.19, 1.20 and 1.21. (No idea what to set as "Version".)

Gilles raised the priority of this task from High to Unbreak Now!.Dec 4 2014, 10:11 AM
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to High.Dec 4 2014, 11:23 AM