sanitize table comments in print view

This commit is contained in:
Marc Delisle
2008-05-03 11:59:52 +00:00
parent c37b5df5ec
commit 4085b80bdc
2 changed files with 3 additions and 1 deletions

View File

@@ -61,6 +61,8 @@ danbarry
thanks to Norman Hippert thanks to Norman Hippert
- [structure] do not remove the BINARY attribute in drop-down - [structure] do not remove the BINARY attribute in drop-down
- bug #1955386 [session] Overriding session.hash_bits_per_character - bug #1955386 [session] Overriding session.hash_bits_per_character
- [interface] sanitize the table comments in table print view,
thanks to Norman Hippert
2.11.6.0 (2008-04-29) 2.11.6.0 (2008-04-29)
- bug #1903724 [interface] Displaying of very large queries in error message - bug #1903724 [interface] Displaying of very large queries in error message

View File

@@ -140,7 +140,7 @@ foreach ($the_tables as $key => $table) {
* Displays the comments of the table if MySQL >= 3.23 * Displays the comments of the table if MySQL >= 3.23
*/ */
if (!empty($show_comment)) { if (!empty($show_comment)) {
echo $strTableComments . ': ' . $show_comment . '<br /><br />'; echo $strTableComments . ': ' . htmlspecialchars($show_comment) . '<br /><br />';
} }
/** /**