bug #3340151 [export] Working SQL query exports error page
This commit is contained in:
@@ -35,13 +35,6 @@ if (empty($export_list)) {
|
||||
PMA_Message::error( __('Could not load export plugins, please check your installation!'))->display();
|
||||
require './libraries/footer.inc.php';
|
||||
}
|
||||
|
||||
// If the form data is being loaded from GET data, decode it
|
||||
foreach($_GET as $name => $value) {
|
||||
if(is_string($value)) {
|
||||
$_GET[urldecode($name)] = urldecode($value);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<form method="post" action="export.php" name="dump">
|
||||
@@ -73,7 +66,7 @@ echo '<input type="hidden" name="export_method" value="' . htmlspecialchars($cfg
|
||||
|
||||
|
||||
if(isset($_GET['sql_query'])) {
|
||||
echo '<input type="hidden" name="sql_query" value="' . htmlspecialchars(urldecode($_GET['sql_query'])) . '" />' . "\n";
|
||||
echo '<input type="hidden" name="sql_query" value="' . htmlspecialchars($_GET['sql_query']) . '" />' . "\n";
|
||||
} elseif (! empty($sql_query)) {
|
||||
echo '<input type="hidden" name="sql_query" value="' . htmlspecialchars($sql_query) . '" />' . "\n";
|
||||
}
|
||||
|
Reference in New Issue
Block a user