diff --git a/ChangeLog b/ChangeLog index afdd2552f..879d8f5c0 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,16 +5,19 @@ phpMyAdmin - Changelog $Id$ $Source$ +2002-05-17 Alexander M. Turek + * libraries/display_tbl.lib.php3, line 1006: improved Loïc's fix. + 2002-05-17 Marc Delisle * tbl_change.php3, bug 556296: field size for int 2002-05-17 Loïc Chapeaux * db_details_structure.php3, lines 446-458; tbl_properties_options.php3, lines 119-143: beautified generated code. - * libraries/build_dump.php3, lines 70-75: fixed bug #551682 - PMA ignores + * libraries/build_dump.php3, lines 70-75: fixed bug #551682 - PMA ignores case of table names under winwin, thanks to Pawe³ Szczepañski . - * libraries/display_tbl.lib.php3, line 1006: if a binary record contains + * libraries/display_tbl.lib.php3, line 1006: if a binary record contains some html tags, display was broken. Thanks to SailorMax . @@ -23,10 +26,10 @@ $Source$ 2002-05-14 Marc Delisle * pdf_schema.php3, db_details_structure.php3, lang/*, fpdf/*, - Documentation.html: new feature: pdf schema output, - thanks to Maxime Delorme (delorme.maxime at free.fr) + Documentation.html: new feature: pdf schema output, + thanks to Maxime Delorme (delorme.maxime at free.fr) and to Olivier Plathey (www.fpdf.org) - (todo: scaling choice) + (todo: scaling choice) 2002-05-13 Loïc Chapeaux * left.php3, libraries/common.lib.php3: fixed xhtml bugs and optimized the @@ -35,9 +38,9 @@ $Source$ 2002-05-13 Marc Delisle * lang/hungarian.inc.php3 updates, thanks to Péter Bakondy - + 2002-05-09 Robin Johnson - * .cvsignore, libraries/common.lib.php3: Feature to stop developers + * .cvsignore, libraries/common.lib.php3: Feature to stop developers commiting their config.inc.php3 so easily. 2002-05-09 Alexander M. Turek diff --git a/libraries/display_tbl.lib.php3 b/libraries/display_tbl.lib.php3 index 15dbfa438..a8273f28b 100644 --- a/libraries/display_tbl.lib.php3 +++ b/libraries/display_tbl.lib.php3 @@ -1003,7 +1003,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){ $row[$pointer] = str_replace("\x0a", '\n', $row[$pointer]); $row[$pointer] = str_replace("\x0d", '\r', $row[$pointer]); $row[$pointer] = str_replace("\x1a", '\Z', $row[$pointer]); - $row[$pointer] = str_replace('<', '<', str_replace('>', '>', $row[$pointer])); + $row[$pointer] = htmlspecialchars($row[$pointer]); } // loic1: displays all space characters, 4 space // characters for tabulations and /