dashiwa / php52-backports

Automatically exported from code.google.com/p/php52-backports
Other
0 stars 0 forks source link

phpinfo doctype header #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. phpinfo

What is the expected output? What do you see instead?
+       PUTS("<html xmlns=\"http://www.w3.org/1999/xhtml\">>")
should be:
+       PUTS("<html xmlns=\"http://www.w3.org/1999/xhtml\">")

Original issue reported on code.google.com by lolicj...@gmail.com on 6 Feb 2012 at 3:03

GoogleCodeExporter commented 8 years ago
How to see problem? This lines is not exist in phpinfo

bsd8# cat info.php
<?
phpinfo();
?>
bsd8#
bsd8# php-cgi info.php | grep xmlns
bsd8#

This is most likely the settings of your website or webserver

Original comment by svyatosl...@gmail.com on 7 Feb 2012 at 5:09

GoogleCodeExporter commented 8 years ago
Hi,

Take a look at phpinfo displayed in browser.

Original comment by lolicj...@gmail.com on 7 Feb 2012 at 6:39

GoogleCodeExporter commented 8 years ago
I confirm that,  phpinfo displayed in browser has an extra ">"  in the thirst 
line

<html xmlns="http://www.w3.org/1999/xhtml">>
-------------------------------------------^

Original comment by charlie....@gmail.com on 16 Feb 2012 at 1:25

GoogleCodeExporter commented 8 years ago
new patch php52-backports-20120216 still has this bug

Original comment by lolicj...@gmail.com on 28 Feb 2012 at 10:39

GoogleCodeExporter commented 8 years ago
This header "xmlns" is not exist in phpinfo

bsd8# wget -O data bsd8.ispsystem.info/test.php
--2012-05-26 01:30:16--  http://bsd8.ispsystem.info/test.php
Resolving bsd8.ispsystem.info (bsd8.ispsystem.info)... 62.109.10.35
Connecting to bsd8.ispsystem.info (bsd8.ispsystem.info)|62.109.10.35|:80... 
connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `data'

    [ <=>                                                                           ] 46,582      --.-K/s   in 0.1s

2012-05-26 01:30:16 (393 KB/s) - `data' saved [46582]

bsd8# grep xmlns data
bsd8#

Original comment by svyatosl...@gmail.com on 25 May 2012 at 4:31

GoogleCodeExporter commented 8 years ago
Hello,

<html xmlns="http://www.w3.org/1999/xhtml">>

there is double ">" at the end of line which is visible on php info page 
accessed from browser.

Screenshot:
https://lh4.googleusercontent.com/-op2VeP2eD9E/UE7qM3I1O0I/AAAAAAAAA3c/FrRVzG8UY
I4/s580/php.png

Original comment by lolicj...@gmail.com on 11 Sep 2012 at 7:40

GoogleCodeExporter commented 8 years ago
Please send me .php-file what you run with this issue, I have run phpinfo() and 
found no problem.

Original comment by svyatosl...@gmail.com on 11 Sep 2012 at 8:18

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
it's just

<? phpinfo(); ?>

I know ?> on the end is not necessary.

Original comment by lolicj...@gmail.com on 11 Sep 2012 at 9:04

GoogleCodeExporter commented 8 years ago
But phpinfo() output in website also do not have xmlns string - see Comment 5

Original comment by svyatosl...@gmail.com on 11 Sep 2012 at 6:46

GoogleCodeExporter commented 8 years ago
Don't use wget, try with "normal" browser 

Original comment by lolicj...@gmail.com on 11 Sep 2012 at 6:50

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I'm sorry, it was in trunk (not in stable security fix), Fixed in trunk.

Original comment by svyatosl...@gmail.com on 12 Sep 2012 at 4:35