Do not escape SQL query twice while showing it in error message (bug #1336452).
This commit is contained in:
@@ -12,6 +12,8 @@ $Source$
|
||||
* lang/japanese: Update, thanks to Tadashi Jokagi - elf2000.
|
||||
* libraries/display_tbl.lib.php: Do not break on special chars in column
|
||||
name (bug #1180668).
|
||||
* libraries/common.lib.php: Do not escape SQL query twice while showing it
|
||||
in error message (bug #1336452).
|
||||
|
||||
2005-10-29 Michal Čihař <michal@cihar.com>
|
||||
* Documentation.html, config.default.php, libraries/common.lib.php: Link
|
||||
|
@@ -606,7 +606,7 @@ if ($is_minimum_common == FALSE) {
|
||||
} elseif (empty($the_query) || trim($the_query) == '') {
|
||||
$formatted_sql = '';
|
||||
} else {
|
||||
$formatted_sql = PMA_formatSql(PMA_SQP_parse(PMA_sanitize($the_query)), $the_query);
|
||||
$formatted_sql = PMA_formatSql(PMA_SQP_parse($the_query), $the_query);
|
||||
}
|
||||
// ---
|
||||
echo "\n" . '<!-- PMA-SQL-ERROR -->' . "\n";
|
||||
|
Reference in New Issue
Block a user