php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #50554 FastCGI SAPI should provide raw headers
Submitted: 2009-12-22 13:19 UTC Modified: 2009-12-22 14:21 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: mop at globalpark dot com Assigned:
Status: Wont fix Package: Feature/Change Request
PHP Version: 5.3.1 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mop at globalpark dot com
New email:
PHP Version: OS:

 

 [2009-12-22 13:19 UTC] mop at globalpark dot com
Description:
------------
PHP under fastcgi is completely missing some function to get all, raw 
header information. There is some function to do that inside the Apache 
SAPI. However i don't see any reason why this is missing in the fastcgi 
SAPI. As PHP modifies the raw headers (User-Agent => USER_AGENT, 
SOAPAction => SOAPACTION etc etc) before putting them into 
$_SERVER["HTTP_XXX"] 
(not to speak of custom headers) there is no safe solution to reproduce 
the Request including HTTP Headers in PHP+fastcgi.

Reproduce code:
---------------
x

Expected result:
----------------
x

Actual result:
--------------
x

Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 19:01:31 2024 UTC