bug #1549824, SQL history and quote escape
This commit is contained in:
@@ -9,6 +9,7 @@ $Source$
|
|||||||
* lang/check_lang.sh: ignore differences in doc_lang
|
* lang/check_lang.sh: ignore differences in doc_lang
|
||||||
* lang/italian: Update, thanks to Rebe - rebeluca.
|
* lang/italian: Update, thanks to Rebe - rebeluca.
|
||||||
### 2.9.0-rc1 released from QA_2_9
|
### 2.9.0-rc1 released from QA_2_9
|
||||||
|
* querywindow.php: bug #1549824, SQL history and quote escaping
|
||||||
|
|
||||||
2006-09-07 Marc Delisle <lem9@users.sourceforge.net>
|
2006-09-07 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* lang/turkish: update, thanks to Burak Yavuz - bourock
|
* lang/turkish: update, thanks to Burak Yavuz - bourock
|
||||||
|
@@ -283,8 +283,8 @@ if ( count( $_sql_history ) > 0
|
|||||||
.'querydisplay_tab.value = \'' . $tab . '\';'
|
.'querydisplay_tab.value = \'' . $tab . '\';'
|
||||||
.' document.getElementById(\'hiddenqueryform\').'
|
.' document.getElementById(\'hiddenqueryform\').'
|
||||||
.'query_history_latest.value = \''
|
.'query_history_latest.value = \''
|
||||||
. preg_replace('/(\r|\n)+/i', '\\n',
|
. preg_replace('/(\r|\n)+/i', '\\n',
|
||||||
htmlentities( $sql, ENT_QUOTES ) ) . '\';'
|
PMA_jsFormat($sql, false) ) . '\';'
|
||||||
.' document.getElementById(\'hiddenqueryform\').'
|
.' document.getElementById(\'hiddenqueryform\').'
|
||||||
.'auto_commit.value = \'false\';'
|
.'auto_commit.value = \'false\';'
|
||||||
.' document.getElementById(\'hiddenqueryform\').'
|
.' document.getElementById(\'hiddenqueryform\').'
|
||||||
@@ -305,8 +305,8 @@ if ( count( $_sql_history ) > 0
|
|||||||
.'querydisplay_tab.value = \'' . $tab . '\';'
|
.'querydisplay_tab.value = \'' . $tab . '\';'
|
||||||
.' document.getElementById(\'hiddenqueryform\').'
|
.' document.getElementById(\'hiddenqueryform\').'
|
||||||
.'query_history_latest.value = \''
|
.'query_history_latest.value = \''
|
||||||
. preg_replace('/(\r|\n)+/i', '\\r\\n',
|
. preg_replace('/(\r|\n)+/i', '\\r\\n',
|
||||||
htmlentities( $sql, ENT_QUOTES ) ) . '\';'
|
PMA_jsFormat($sql, false) ) . '\';'
|
||||||
.' document.getElementById(\'hiddenqueryform\').'
|
.' document.getElementById(\'hiddenqueryform\').'
|
||||||
.'auto_commit.value = \'true\';'
|
.'auto_commit.value = \'true\';'
|
||||||
.' document.getElementById(\'hiddenqueryform\').'
|
.' document.getElementById(\'hiddenqueryform\').'
|
||||||
|
Reference in New Issue
Block a user