Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 25250 - header function broken in php-4.0.4pl1-3
header function broken in php-4.0.4pl1-3
Status: CLOSED DUPLICATE of bug 24933
Product: Red Hat Linux
Classification: Retired
Component: php (Show other bugs)
i386 Linux
high Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-01-29 20:49 EST by phostetl
Modified: 2007-03-26 23:40 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-01-30 01:07:02 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description phostetl 2001-01-29 20:49:47 EST
I have a form that sets var to some filename and calls the following php
code.  I use it to force headers so that a file download occurs without
revealing the path.  This worked until  php-4.0.4pl1-3.  I have the php.ini
set to enable multiple header transmission.

header ("Location: /downloads/$var");
The problem is that a bunch of blank lines now preceed the header.

I also force headers for uploads. My upload function still works.
Comment 1 phostetl 2001-01-29 22:43:28 EST
It turn out that $var from my form somehow picked up additional whitespace.  I
corrected the problem with:

header ("Location: $qnx");

But this shouldn't have happened.  There isn't anything regarding this in the
release notes.
Comment 2 Nalin Dahyabhai 2001-01-30 01:08:10 EST
Bug #24933 strikes again.  The form-parsing code is pretty involved; I'm still
tracing through it to try figuring out where things go awry, but I can guess
that it works in Netscape Navigator....

*** This bug has been marked as a duplicate of 24933 ***

Note You need to log in before you can comment on or make changes to this bug.