#23184 [NEW]: (null)-value in front of header-location-request

From: Date: Sun, 13 Apr 2003 09:11:27 +0000
Subject: #23184 [NEW]: (null)-value in front of header-location-request
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37607@lists.php.net to get a copy of this message
From: info at speedpartner dot de Operating system: Linux PHP version: 4.3.1 PHP Bug Type: Output Control Bug description: (null)-value in front of header-location-request Using php4.3.1-cgi I with this script: <? Header("Location: abcdef.php"); ?> and running it with this: php x.php results in: (null) Content-type: text/html Location: abcdef.php This null-value in front is only present if I'm using a header-redirect. All setCookie or something works fine and without the null-value. Problem is that this null badly confuses apache's mod_proxy because it interprets the content-type and location as part of the body of the page and not as real header-values. Does anybody know where this null comes from? Is it easy to fix somewhere in the source? Need urgent reply! -- Edit bug report at http://bugs.php.net/?id=23184&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23184&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23184&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23184&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23184&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23184&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23184&r=support Expected behavior: http://bugs.php.net/fix.php?id=23184&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23184&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23184&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23184&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23184&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23184&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23184&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23184&r=gnused

« previous php.bugs (#37607) next »