From:             jeff at mos dot org
Operating system: Windows 2000
PHP version:      4.3.2
PHP Bug Type:     IIS related
Bug description:  Extra characters in header under certain conditions

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 bug report at http://bugs.php.net/?id=25160&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25160&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25160&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25160&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25160&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25160&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25160&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25160&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25160&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25160&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25160&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25160&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25160&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25160&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25160&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25160&r=gnused

Reply via email to