ID:               31900
 Comment by:       bugmenot at despammed dot com
 Reported By:      rogeliotg2004 at yahoo dot es
 Status:           No Feedback
 Bug Type:         HTTP related
 Operating System: Linux Mandrake 10.1
 PHP Version:      4.3.10
 New Comment:

That is not valid HTTP response anyway. Location needs absolute URI,
which includes protocol (http:// is missing here). Dunno if it relates
to the bug though.


Previous Comments:
------------------------------------------------------------------------

[2005-03-02 01:00:09] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2005-02-10 14:31:11] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip



------------------------------------------------------------------------

[2005-02-09 16:36:04] rogeliotg2004 at yahoo dot es

Description:
------------
I have apache 2.0.50 on linux mandrake 10.1. I had php 4.3.8, now I've
installed 4.3.10 by  urpmi.
Then I got the mentioned problem, when I use header("location: ...),
the header is sended in the response, but the HTTP 302 sended in 4.3.8
is now a HTTP 200.
Try whatever script that you want, with a location like a full or
relative URL.
Best Regards,

Reproduce code:
---------------
<?
   header("location: www.google.com");
   die;
?>

Expected result:
----------------
HTTP/1.x 302 found
Location: www.google.com
...more headers



Actual result:
--------------
HTTP/1.x 200 OK

Location: www.google.com
...more headers




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=31900&edit=1

Reply via email to