bug #3340151 [export] Working SQL query exports error page
This commit is contained in:
@@ -5,6 +5,7 @@ phpMyAdmin - ChangeLog
|
|||||||
- bug #3323060 [parser] SQL parser breaks AJAX requests if query has unclosed quotes
|
- bug #3323060 [parser] SQL parser breaks AJAX requests if query has unclosed quotes
|
||||||
- bug #3323101 [parser] Invalid escape sequence in SQL parser
|
- bug #3323101 [parser] Invalid escape sequence in SQL parser
|
||||||
- bug #3348995 [config] $cfg['Export']['asfile'] set to false does not select asText option
|
- bug #3348995 [config] $cfg['Export']['asfile'] set to false does not select asText option
|
||||||
|
- bug #3340151 [export] Working SQL query exports error page
|
||||||
|
|
||||||
3.4.3.0 (2011-06-27)
|
3.4.3.0 (2011-06-27)
|
||||||
- bug #3311170 [sync] Missing helper icons in Synchronize
|
- bug #3311170 [sync] Missing helper icons in Synchronize
|
||||||
|
@@ -35,13 +35,6 @@ if (empty($export_list)) {
|
|||||||
PMA_Message::error( __('Could not load export plugins, please check your installation!'))->display();
|
PMA_Message::error( __('Could not load export plugins, please check your installation!'))->display();
|
||||||
require './libraries/footer.inc.php';
|
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">
|
<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'])) {
|
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)) {
|
} elseif (! empty($sql_query)) {
|
||||||
echo '<input type="hidden" name="sql_query" value="' . htmlspecialchars($sql_query) . '" />' . "\n";
|
echo '<input type="hidden" name="sql_query" value="' . htmlspecialchars($sql_query) . '" />' . "\n";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user