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
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 21:01:28 2024 UTC