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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 19:01:35 2025 UTC