Bug #11573 Updated: Malformed HTTP response Header

From: Date: Wed, 20 Jun 2001 16:04:09 +0000
Subject: Bug #11573 Updated: Malformed HTTP response Header
Groups: php.dev 
Request: Send a blank email to php-dev+get-57412@lists.php.net to get a copy of this message
ID: 11573 Updated by: sniper Reported By: jerome.delamarche@free.fr Old-Status: Open Status: Feedback Bug Type: *Session related Operating system: PHP Version: 4.0.5 Assigned To: Comments: Which broswser and what version of it? Please include a short but complete not working script into this report. --Jani Previous Comments: --------------------------------------------------------------------------- [2001-06-20 05:04:48] jerome.delamarche@free.fr I'm using the session*() functions and test them with a browser which refuses cookies. So I add "PHPSESSID=....." as a parameter of the requested url. For example, I call "qcmcreate.php?parm1=xxx&parm2=yyy&PHPSESSID=zzzzzzzzz". I noticed that the HTTP header returned by my script contain an extra line that confuses my client. The end of the HTTP header looks like: Content-Type: test/html rn rn xxx rn rn (rn means a "blank and empty line") What's wrong here are the "xxxrnrn" lines. Where "xxx" is up to 3 characters. These 3 lines make my client misinterpret the server response. If I make my browser accept cookies, the problem disappears. To make sure I did not echo anything, the 1st instruction of my "qcmcreate.php" script is "die;" What's wrong ? Thank you, Jerome Pl --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11573&edit=2

« previous php.dev (#57412) next »