From Rabus: if a binary record contains some html special characters, display was not xhtml compliant
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2002-05-18 Alexander M. Turek <rabus@users.sourceforge.net>
|
||||||
|
* libraries/display_tbl.lib.php3, line 1006: if a binary record contains
|
||||||
|
some html special characters, display was not xhtml compliant.
|
||||||
|
|
||||||
2002-05-18 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
2002-05-18 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||||
* libraries/common.lib.php3; libraries/ip_allow_deny.lib.php3:
|
* libraries/common.lib.php3; libraries/ip_allow_deny.lib.php3:
|
||||||
- exported the "IP-based Allow/Deny" code in a distinct library;
|
- exported the "IP-based Allow/Deny" code in a distinct library;
|
||||||
|
@@ -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('<', '<', str_replace('>', '>', $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>
|
||||||
|
Reference in New Issue
Block a user