Replace htmlentities with htmlspecialchars (bug #1008002).
This commit is contained in:
@@ -13,6 +13,8 @@ $Source$
|
||||
* many files: I again did some XHTML validation, so removed few of most
|
||||
obvious errors, but there are still many, mostly missing alt attributtes
|
||||
for images and wrongly nested tags.
|
||||
* left.php, queryframe.php: Replace htmlentities with htmlspecialchars
|
||||
(bug #1008002).
|
||||
|
||||
2004-08-11 Michal Čihař <michal@cihar.com>
|
||||
* tbl_replace.php: Do not empty protected values (bug #1006812).
|
||||
|
4
left.php
4
left.php
@@ -613,10 +613,10 @@ if ($num_dbs > 1) {
|
||||
while (list($table) = PMA_DBI_fetch_row($tables)) {
|
||||
$table_array[$table] = '';
|
||||
$url_title = (!empty($tooltip) && isset($tooltip[$table]))
|
||||
? htmlentities($tooltip[$table])
|
||||
? htmlspecialchars($tooltip[$table])
|
||||
: '';
|
||||
$alias = (!empty($tooltip_name) && isset($tooltip_name[$table]))
|
||||
? htmlentities($tooltip_name[$table])
|
||||
? htmlspecialchars($tooltip_name[$table])
|
||||
: '';
|
||||
|
||||
$book_sql_query = PMA_queryBookmarks($db, $cfg['Bookmark'], '\'' . PMA_sqlAddslashes($table) . '\'', 'label');
|
||||
|
@@ -340,10 +340,10 @@ if ($num_dbs > 1) {
|
||||
while (list($table) = PMA_DBI_fetch_row($tables)) {
|
||||
$table_array[$table] = '';
|
||||
$url_title = (!empty($tooltip) && isset($tooltip[$table]))
|
||||
? htmlentities($tooltip[$table])
|
||||
? htmlspecialchars($tooltip[$table])
|
||||
: '';
|
||||
$alias = (!empty($tooltip_name) && isset($tooltip_name[$table]))
|
||||
? htmlentities($tooltip_name[$table])
|
||||
? htmlspecialchars($tooltip_name[$table])
|
||||
: '';
|
||||
$book_sql_query = PMA_queryBookmarks($db, $cfg['Bookmark'], '\'' . PMA_sqlAddslashes($table) . '\'', 'label');
|
||||
} // end while (tables list)
|
||||
|
Reference in New Issue
Block a user