iliaa Tue Nov 22 19:17:17 2005 EDT
Modified files: (Branch: PHP_4_4)
/php-src/ext/standard info.c
Log:
MFH: Fixed bug #35046 (phpinfo() uses improper css enclosure).
http://cvs.php.net/diff.php/php-src/ext/standard/info.c?r1=1.218.2.18.2.4&r2=1.218.2.18.2.5&ty=u
Index: php-src/ext/standard/info.c
diff -u php-src/ext/standard/info.c:1.218.2.18.2.4
php-src/ext/standard/info.c:1.218.2.18.2.5
--- php-src/ext/standard/info.c:1.218.2.18.2.4 Mon Aug 15 20:26:02 2005
+++ php-src/ext/standard/info.c Tue Nov 22 19:17:17 2005
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: info.c,v 1.218.2.18.2.4 2005/08/16 00:26:02 iliaa Exp $ */
+/* $Id: info.c,v 1.218.2.18.2.5 2005/11/23 00:17:17 iliaa Exp $ */
#include "php.h"
#include "php_ini.h"
@@ -195,9 +195,9 @@
*/
void php_info_print_style()
{
- php_printf("<style type=\"text/css\"><!--\n");
+ php_printf("<style type=\"text/css\">\n");
php_info_print_css();
- php_printf("//--></style>\n");
+ php_printf("</style>\n");
}
/* }}} */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php