#39984 [Opn->Csd]: Response header sent as 302 despite being set to 301

From: Date: Mon, 01 Jan 2007 16:32:16 +0000
Subject: #39984 [Opn->Csd]: Response header sent as 302 despite being set to 301
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-107089@lists.php.net to get a copy of this message
 ID:               39984
 Updated by:       iliaa@php.net
 Reported By:      marc dot bau at gmx dot net
-Status:           Open
+Status:           Closed
 Bug Type:         IIS related
 Operating System: WinXP
 PHP Version:      5.2.0
 New Comment:

Then it is probably due to IIS overwriting the Status code. 
Based on the current code in the CVS right now PHP sends the 
redirect code set by your application.


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

[2007-01-01 16:22:47] marc dot bau at gmx dot net

But i have used the Snapshot php5.2-win32-200701010730 !?

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

[2007-01-01 16:17:05] iliaa@php.net

you need to use the 5.2 CVS snapshot

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

[2007-01-01 11:49:00] marc dot bau at gmx dot net

same with php6.0-win32-200701010930:

HTTP/1.x 302 Object Moved
Server: Microsoft-IIS/5.1
Date: Mon, 01 Jan 2007 11:47:42 GMT
Connection: close
Content-Type: text/html
X-Powered-By: PHP/6.0.0-dev
Location: http://www.example.com

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

[2007-01-01 11:28:37] marc dot bau at gmx dot net

i'm sorry but i must reopen the case. i tested with snapshot
php5.2-win32-200701010730 and i got this:

Isn't this the CVS Version you talked about?


HTTP/1.x 302 Object Moved
Server: Microsoft-IIS/5.1
Date: Mon, 01 Jan 2007 11:26:59 GMT
Connection: close
Content-Type: text/html
X-Powered-By: PHP/5.2.1RC2-dev
Location: http://www.example.com

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

[2007-01-01 11:12:18] marc dot bau at gmx dot net

Thank you. I will test the latest Snapshot.

Are you able to backport this bugfix? I think this is very important
and critical bug for older versions, too.

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/39984

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


Thread (29 messages)

« previous php.bugs (#107089) next »