#25160 [Opn->Bgs]: Extra characters in header under certain conditions
| From: | sniper@php.net | Date: | Wed, 20 Aug 2003 00:03:04 +0000 |
| Subject: | #25160 [Opn->Bgs]: Extra characters in header under certain conditions | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-46259@lists.php.net to get a copy of this message | ||
ID: 25160
Updated by: sniper@php.net
Reported By: jeff at mos dot org
-Status: Open
+Status: Bogus
Bug Type: IIS related
Operating System: Windows 2000
PHP Version: 4.3.2
New Comment:
Yes, the correct setting is 0 for cgi. (and afaik, this is fixed in CVS
too)
Previous Comments:
------------------------------------------------------------------------
[2003-08-19 17:53:00] jeff at mos dot org
Description:
------------
I'm also using the FastCGI ISAPI dll from here:
http://www.caraveo.com/fastcgi/
The problem I was seeing was when redirecting from an https page to any
other page by means of the Location: header in Apple's Safari browser.
The browser would hang.
I used wget to look at the headers and got this:
1 HTTP/1.1 302 Moved
2 Server: Microsoft-IIS/5.0
3 Date: Tue, 19 Aug 2003 22:29:13 GMT
4 (null)
5 Content-type: text/html
6 X-Powered-By: PHP/4.3.2
7 Location: http://ecomdev.mos.org/?action=showorder
Note the (null) line. Is php adding a line feed, carriage return, or
some other character?
I set 'cgi.rfc2616_headers = 0' in php.ini, and the mystery (null) went
away. I had originally set it to '1' because the comments in php.ini
said to if using IIS.
This problem did not occur with the ISAPI module or plain CGI, with
either setting of 'cgi.rfc2616_headers'.
Changing the 'cgi.rfc2616_headers' setting has solved my Safari hanging
problem.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25160&edit=1