Restrict shell commands by default
authorMax Semenik <maxsem.wiki@gmail.com>
Sat, 6 Jan 2018 12:41:37 +0000 (15:41 +0300)
committerMax Semenik <maxsem.wiki@gmail.com>
Mon, 16 Apr 2018 18:50:13 +0000 (11:50 -0700)
commitefa586fddd5ebacd8a89b56d797c1eff1681cfc4
treeb28c4d85b2325b1cd734baabd79e5d5eedfcdbab
parent47444f72c33e629215719a4bdb8fe5bcb05480c5
Restrict shell commands by default

Before it's too late, let's boil the oceans
and just do it. This patch assumes that old code
calling wfShellExec() doesn't know about restrictions
so it doesn't restrict anything. New code, however,
needs to specify its restrictions or deal with defaults.

Change-Id: I58963901087202d4a405bcdb6bd12758bb6b0ff7
RELEASE-NOTES-1.31
includes/GlobalFunctions.php
includes/shell/CommandFactory.php
includes/shell/Shell.php