pajoye                                   Fri, 19 Aug 2011 09:59:47 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=315170

Log:
- Fixed bug #52461 (Incomplete doctype and missing xmlns)

Bug: https://bugs.php.net/52461 (Assigned) phpinfo() corrections
      
Changed paths:
    U   php/php-src/branches/PHP_5_3/NEWS
    U   php/php-src/branches/PHP_5_3/ext/standard/info.c
    U   php/php-src/branches/PHP_5_4/NEWS
    U   php/php-src/branches/PHP_5_4/ext/standard/info.c
    U   php/php-src/trunk/ext/standard/info.c

Modified: php/php-src/branches/PHP_5_3/NEWS
===================================================================
--- php/php-src/branches/PHP_5_3/NEWS   2011-08-19 09:35:27 UTC (rev 315169)
+++ php/php-src/branches/PHP_5_3/NEWS   2011-08-19 09:59:47 UTC (rev 315170)
@@ -2,6 +2,10 @@
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? ??? 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).


Modified: php/php-src/branches/PHP_5_3/ext/standard/info.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/standard/info.c    2011-08-19 09:35:27 UTC 
(rev 315169)
+++ php/php-src/branches/PHP_5_3/ext/standard/info.c    2011-08-19 09:59:47 UTC 
(rev 315170)
@@ -626,7 +626,7 @@


        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>");

Modified: php/php-src/branches/PHP_5_4/NEWS
===================================================================
--- php/php-src/branches/PHP_5_4/NEWS   2011-08-19 09:35:27 UTC (rev 315169)
+++ php/php-src/branches/PHP_5_4/NEWS   2011-08-19 09:59:47 UTC (rev 315170)
@@ -6,8 +6,10 @@
   . Turn on html_errors by default again in php.ini-production like it was in
     PHP 5.3, but only generate docref links when the docref_root INI setting is
     not empty.
-- Fixed bug #55378: Binary number literal returns float number though its value
-  is small enough. (Derick)
+  . Fixed bug #55378: Binary number literal returns float number though its 
value
+    is small enough. (Derick)
+  . Fixed bug #52461 (Incomplete doctype and missing xmlns).
+    (virsacer at web dot de, Pierre)

 - Improved mbstring extension:
   . Added Shift_JIS Emoji (pictograms) support. (rui)

Modified: php/php-src/branches/PHP_5_4/ext/standard/info.c
===================================================================
--- php/php-src/branches/PHP_5_4/ext/standard/info.c    2011-08-19 09:35:27 UTC 
(rev 315169)
+++ php/php-src/branches/PHP_5_4/ext/standard/info.c    2011-08-19 09:59:47 UTC 
(rev 315170)
@@ -633,7 +633,7 @@
 PHPAPI void php_print_info_htmlhead(TSRMLS_D)
 {
        php_info_print("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 
Transitional//EN\" \"DTD/xhtml1-transitional.dtd\">\n");
-       php_info_print("<html>");
+       php_info_print("<html xmlns=\"http://www.w3.org/1999/xhtml\";>");
        php_info_print("<head>\n");
        php_info_print_style(TSRMLS_C);
        php_info_print("<title>phpinfo()</title>");

Modified: php/php-src/trunk/ext/standard/info.c
===================================================================
--- php/php-src/trunk/ext/standard/info.c       2011-08-19 09:35:27 UTC (rev 
315169)
+++ php/php-src/trunk/ext/standard/info.c       2011-08-19 09:59:47 UTC (rev 
315170)
@@ -633,7 +633,7 @@
 PHPAPI void php_print_info_htmlhead(TSRMLS_D)
 {
        php_info_print("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 
Transitional//EN\" \"DTD/xhtml1-transitional.dtd\">\n");
-       php_info_print("<html>");
+       php_info_print("<html xmlns=\"http://www.w3.org/1999/xhtml\";>");
        php_info_print("<head>\n");
        php_info_print_style(TSRMLS_C);
        php_info_print("<title>phpinfo()</title>");

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to