]> granicus.if.org Git - php/commitdiff
- Fixed bug #52461 (Incomplete doctype and missing xmlns)
authorPierre Joye <pajoye@php.net>
Fri, 19 Aug 2011 09:59:47 +0000 (09:59 +0000)
committerPierre Joye <pajoye@php.net>
Fri, 19 Aug 2011 09:59:47 +0000 (09:59 +0000)
NEWS
ext/standard/info.c

diff --git a/NEWS b/NEWS
index 2f0b5cf633beac91704114218aeccf670d84178b..0c3f22cc40bae5f3ea6f97d56efb21670ad78b69 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,10 @@ PHP                                                                        NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? ??? 2011, PHP 5.3.8
 
+- Core:
+  . Fixed bug #52461 (Incomplete doctype and missing xmlns). 
+    (virsacer at web dot de, Pierre)
+
 - Improved NSAPI SAPI: (Uwe Schindler)
   . Don't set $_SERVER['HTTPS'] on unsecure connection (bug #55403).
 
index 90ae34f0bc8b8e6cc2da51aef6c5d83afae4ce9f..a07ccee149d69f638785b057dabf99420ccfec18 100644 (file)
@@ -626,7 +626,7 @@ PHPAPI void php_print_info_htmlhead(TSRMLS_D)
 
 
        PUTS("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"DTD/xhtml1-transitional.dtd\">\n");
-       PUTS("<html>");
+       PUTS("<html xmlns=\"http://www.w3.org/1999/xhtml\">>");
        PUTS("<head>\n");
        php_info_print_style(TSRMLS_C);
        PUTS("<title>phpinfo()</title>");