bug #1727138 HTML not encoded (more than 1000 characters)

This commit is contained in:
Marc Delisle
2007-06-24 10:42:02 +00:00
parent 083d7980e2
commit 0588579a3f
2 changed files with 2 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ $HeadURL$
- bug #1734285 Copy database with VIEWs
- bug #1722502 DROP TABLE in export VIEW
- bug #1729027 Sorting results of VIEW browsing
- bug #1727138 HTML not encoded (more than 1000 characters)
2.10.2.0 (2007-06-15)

View File

@@ -1407,6 +1407,7 @@ if (typeof(window.parent) != 'undefined'
$max_characters = 1000;
if (! defined('PMA_QUERY_TOO_BIG') && strlen($query_base) > $max_characters) {
define('PMA_QUERY_TOO_BIG',1);
$query_base = htmlspecialchars($sql_query);
}
// Parse SQL if needed