diff --git a/ChangeLog b/ChangeLog
index 0215d198e1..3014b940b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -70,6 +70,8 @@ phpMyAdmin - ChangeLog
- bug Incorrect text/icon display in Tracking report
- bug #4404 Recordset return from procedure display nothing
- bug #4584 Edit dialog for routines is too long for smaller displays
+- bug #4586 Javascript error after moving a column
+- bug #4576 Issue with long comments on table columns
4.2.11.0 (2014-10-31)
- bug ReferenceError: Table_onover is not defined
diff --git a/libraries/DisplayResults.class.php b/libraries/DisplayResults.class.php
index 759e1b8f7e..49aa2fd6bb 100644
--- a/libraries/DisplayResults.class.php
+++ b/libraries/DisplayResults.class.php
@@ -1810,11 +1810,20 @@ class PMA_DisplayResults
&& isset($comments_map[$fields_meta->table])
&& isset($comments_map[$fields_meta->table][$fields_meta->name])
) {
- $comments = '';
+ $sanitized_comments = htmlspecialchars(
+ $comments_map[$fields_meta->table][$fields_meta->name]
+ );
+
+ $comments = '';
}
return $comments;
} // end of the '_getCommentForRow()' function