bug #4467 shell_exec() has been disabled for security reasons

Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
Marc Delisle 2014-06-20 15:39:09 -04:00
parent f1253cf31f
commit a30405fe0b
2 changed files with 3 additions and 2 deletions

View File

@ -2,6 +2,7 @@ phpMyAdmin - ChangeLog
======================
4.2.5.0 (not yet released)
- bug #4467 shell_exec() has been disabled for security reasons
4.2.4.0 (2014-06-20)
- bug #4449 Mediawiki export does not produce table header row; also fix related PHP warnings

View File

@ -2039,9 +2039,9 @@ class PMA_DisplayResults
foreach ($sort_expression_nodirection as $index => $clause) {
if (strpos($clause, '.') !== false) {
$fragments = explode('.', $clause);
$clause2 = $fragments[0] . "." . str_replace('`', ``, $fragments[1]);
$clause2 = $fragments[0] . "." . str_replace('`', '', $fragments[1]);
} else {
$clause2 = $sort_tbl . str_replace('`', ``, $clause);
$clause2 = $sort_tbl . str_replace('`', '', $clause);
}
if ($clause2 === $sort_tbl . $name_to_use_in_sort) {
$index_in_expression = $index;