Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2016-01-19 13:31:41 +0300
committerMichal Čihař <michal@cihar.com>2016-01-19 13:31:41 +0300
commit0f119bb3293273c75f7f30d844cf764822cc8eee (patch)
treec8fb57f13df98d22fd1c0499968a2fef9abe28a7 /export.php
parent8e99da9685ee728b39d8e998c61b15e1df17659a (diff)
parent76e003a8cb53115ed301f0e42cc53f735ec14216 (diff)
Merge branch 'QA_4_5'
Diffstat (limited to 'export.php')
-rw-r--r--export.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/export.php b/export.php
index 082cbd74f0..4b765e1659 100644
--- a/export.php
+++ b/export.php
@@ -163,11 +163,12 @@ if (!defined('TESTSUITE')) {
}
$table = $GLOBALS['table'];
- // sanitize this parameter which will be used below in a file inclusion
- $what = PMA_securePath($_POST['what']);
PMA\libraries\Util::checkParameters(array('what', 'export_type'));
+ // sanitize this parameter which will be used below in a file inclusion
+ $what = PMA_securePath($_POST['what']);
+
// export class instance, not array of properties, as before
/* @var $export_plugin ExportPlugin */
$export_plugin = PMA_getPlugin(