better fix

This commit is contained in:
Alexander M. Turek
2002-05-17 12:27:27 +00:00
parent cb213a9d06
commit 6b66e594fa
2 changed files with 11 additions and 8 deletions

View File

@@ -5,16 +5,19 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2002-05-17 Alexander M. Turek <rabus@users.sourceforge.net>
* libraries/display_tbl.lib.php3, line 1006: improved Lo<4C>c's fix.
2002-05-17 Marc Delisle <lem9@users.sourceforge.net> 2002-05-17 Marc Delisle <lem9@users.sourceforge.net>
* tbl_change.php3, bug 556296: field size for int * tbl_change.php3, bug 556296: field size for int
2002-05-17 Lo<4C>c Chapeaux <lolo@phpheaven.net> 2002-05-17 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* db_details_structure.php3, lines 446-458; * db_details_structure.php3, lines 446-458;
tbl_properties_options.php3, lines 119-143: beautified generated code. 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 case of table names under winwin, thanks to
Pawe<77> Szczepa<70>ski <pauluz at users.sourceforge.net>. Pawe<77> Szczepa<70>ski <pauluz at users.sourceforge.net>.
* 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 some html tags, display was broken. Thanks to
SailorMax <max at elcor.lv>. SailorMax <max at elcor.lv>.
@@ -23,10 +26,10 @@ $Source$
2002-05-14 Marc Delisle <lem9@users.sourceforge.net> 2002-05-14 Marc Delisle <lem9@users.sourceforge.net>
* pdf_schema.php3, db_details_structure.php3, lang/*, fpdf/*, * pdf_schema.php3, db_details_structure.php3, lang/*, fpdf/*,
Documentation.html: new feature: pdf schema output, Documentation.html: new feature: pdf schema output,
thanks to Maxime Delorme (delorme.maxime at free.fr) thanks to Maxime Delorme (delorme.maxime at free.fr)
and to Olivier Plathey (www.fpdf.org) and to Olivier Plathey (www.fpdf.org)
(todo: scaling choice) (todo: scaling choice)
2002-05-13 Lo<4C>c Chapeaux <lolo@phpheaven.net> 2002-05-13 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* left.php3, libraries/common.lib.php3: fixed xhtml bugs and optimized the * left.php3, libraries/common.lib.php3: fixed xhtml bugs and optimized the
@@ -35,9 +38,9 @@ $Source$
2002-05-13 Marc Delisle <lem9@users.sourceforge.net> 2002-05-13 Marc Delisle <lem9@users.sourceforge.net>
* lang/hungarian.inc.php3 updates, thanks to P<>ter Bakondy * lang/hungarian.inc.php3 updates, thanks to P<>ter Bakondy
2002-05-09 Robin Johnson <robbat2@users.sourceforge.net> 2002-05-09 Robin Johnson <robbat2@users.sourceforge.net>
* .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. commiting their config.inc.php3 so easily.
2002-05-09 Alexander M. Turek <rabus@users.sourceforge.net> 2002-05-09 Alexander M. Turek <rabus@users.sourceforge.net>

View File

@@ -1003,7 +1003,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
$row[$pointer] = str_replace("\x0a", '\n', $row[$pointer]); $row[$pointer] = str_replace("\x0a", '\n', $row[$pointer]);
$row[$pointer] = str_replace("\x0d", '\r', $row[$pointer]); $row[$pointer] = str_replace("\x0d", '\r', $row[$pointer]);
$row[$pointer] = str_replace("\x1a", '\Z', $row[$pointer]); $row[$pointer] = str_replace("\x1a", '\Z', $row[$pointer]);
$row[$pointer] = str_replace('<', '&lt;', str_replace('>', '&gt;', $row[$pointer])); $row[$pointer] = htmlspecialchars($row[$pointer]);
} }
// loic1: displays all space characters, 4 space // loic1: displays all space characters, 4 space
// characters for tabulations and <cr>/<lf> // characters for tabulations and <cr>/<lf>