PHP 4.0 Bug #8327 Updated: Son of Defect 4155: X-Powered-By and Content-Type bogus headers resurfacing

From: Date: Thu, 04 Jan 2001 18:37:37 +0000
Subject: PHP 4.0 Bug #8327 Updated: Son of Defect 4155: X-Powered-By and Content-Type bogus headers resurfacing
Groups: php.dev 
Request: Send a blank email to php-dev+get-42979@lists.php.net to get a copy of this message
ID: 8327 Updated by: sniper Reported By: jeffd@revx.net Old-Status: Open Status: Feedback Bug Type: *Install and Config Assigned To: Comments: Have you tried PHP 4.0.4 ? Does this happen with it? --Jani Previous Comments: --------------------------------------------------------------------------- [2000-12-19 21:52:27] jeffd@revx.net Win2K/Apache 1.3.14/PHP 4.0.1pl1/MySQL 3.23.28-gamma Problem: The Content-Type and (optional) X-Powered-By headers are preceded by a blank line, causing the browser to believe them part of the document rather than headers. This appears to be tied to the old bug where this behavior was tied to whether the MySQL module was being loaded; now that MySQL support is compiled in by default (at least on the Win32 binaries), the defect is always exercised. Examle input source: <HTML> <HEAD><TITLE>Testing</TITLE> </HEAD> <BODY> <?php printf( "n<B>Testing!</B>n<BR>" ); phpinfo(); ?> </BODY> </HTML> Output for example: Content-type: text/html <HTML> <HEAD><TITLE>Testing</TITLE> </HEAD> <BODY> <B>Testing!</B> <BR><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <!-- remainder snipped - phpinfo() works just fine --> </html> --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8327

« previous php.dev (#42979) next »