Page MenuHomePhabricator

$wgFileBlacklist should include php5
Closed, ResolvedPublic


Author: manuel

The Array $wgFileBlacklist in DefaultSettings.php should contains the extension
"php5". Some Hosters e.g. use this extension for scripts using PHP5.

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:24 PM
bzimport set Reference to bz7537.
bzimport added a subscriber: Unknown Object (MLST).

manuel wrote:

The following line in LocalSettings.php can fix it as workaround:

$wgFileBlacklist[count($wgFileBlacklist)] = "php5";

ayg wrote:

Or just

$wgFileBlacklist[] = "php5";

The patch for this is so trivial I'm going to mark this as patch reviewed,
because it may as well be.

jimmy.collins wrote:

Added in r16899.