#40472 [Opn->Fbk]: Semi random characters posted along with page content
| From: | mike@php.net | Date: | Wed, 14 Feb 2007 15:27:58 +0000 |
| Subject: | #40472 [Opn->Fbk]: Semi random characters posted along with page content | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-108884@lists.php.net to get a copy of this message | ||
ID: 40472
Updated by: mike@php.net
Reported By: fuitad at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Output Control
Operating System: FreeBSD
PHP Version: 5.2.1
New Comment:
So, I don't know your previous apache version?
Previous Comments:
------------------------------------------------------------------------
[2007-02-14 15:12:44] fuitad at gmail dot com
[fmg@ib-apache1 ~]$ httpd -v
Server version: Apache/2.2.4 (FreeBSD)
Server built: Feb 12 2007 22:00:05
[fmg@IB-LIGHTTPD1 ~]$ lighttpd -v
lighttpd-1.4.13 (ssl) - a light and fast webserver
Build-Date: Feb 12 2007 21:46:29
------------------------------------------------------------------------
[2007-02-14 15:04:22] mike@php.net
Seems that your Apache serves HTTP/1.1 chunked encoded responses
despite receiving HTTP/1.0 requests.
Did you upgrade your Apache installation too?
------------------------------------------------------------------------
[2007-02-14 13:56:59] fuitad at gmail dot com
Ok, this is a nice explanation but our proxy servers (either ours or
the Rex Swain HTTP Viewer) did not have that problem before PHP 5.2.1
and we also don't have this problem when we send out HTTP/1.1 requests
to other servers. I'm pretty positive that this bug is not on the
browser's end.
I beg you to look again and see if it could be something else.
------------------------------------------------------------------------
[2007-02-14 07:49:00] mike@php.net
You're seeing HTTP/1,1 chunked transfer encoding. If your proxy cannot
understand HTTP/1.1 then it should send HTTP/1.0 requests.
I can't see anything unusual here.
------------------------------------------------------------------------
[2007-02-14 02:59:31] fuitad at gmail dot com
Description:
------------
Since we have upgraded our servers to PHP 5.2.1, some of our websites
(Across 5 servers, using either Apache or Lighttpd) shows semi random
characters at the top of each page and sometimes, also in other
locations in the page content.
Just to make this even harder to debug, it only happens for people who
are connecting to our servers thru a proxy.
For example, if you open www.fuitad.com via http://www.rexswain.com
(Rex Swain's HTTP Viewer), you will see:
43a2(CR)(LF)
<!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">(LF)
Now, obvioustly, this is not normal.
The same error happens if you look at the following websites via the
Rex Swain HTTP Viewer (or behind your favorite proxy):
www.zestuff.com
www.vgcats.com
www.nuklearpower.com
www.cad-comic.com
Again, this does not happen to everybody. We think it only occurs for
people behind a proxy.
I tried recompiling PHP numerous times
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40472&edit=1