Bug #68006 [NEW]: PHP-FPM strips headers
| From: | aneganov at gmail dot com | Date: | Thu, 11 Sep 2014 12:42:23 +0000 |
| Subject: | Bug #68006 [NEW]: PHP-FPM strips headers | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-187519@lists.php.net to get a copy of this message | ||
From: aneganov at gmail dot com
Operating system: Ubuntu 12.04
PHP version: Irrelevant
Package: FPM related
Bug Type: Bug
Bug description:PHP-FPM strips headers
Description:
------------
Whatever header I added via apache config it is stripped by PHP-FPM.
Example headers why are stripped:
Content-Type's charset
X-Frame-Option
Access-Control-Allow-Origin
- all of them are stripped from the output.
I didn't find any configuration or something which allows to change
this.
I use PHP-FPM with Apache 2.2 and mod_fastcgi.
This make it impossible to use AddDefaultCharset in apache confs for
example.
Expected result:
----------------
Trasparent passing the headers to the user
Actual result:
--------------
Custom headers are stripped
--
Edit bug report at https://bugs.php.net/bug.php?id=68006&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68006&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68006&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68006&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=68006&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=68006&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=68006&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=68006&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=68006&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=68006&r=support
Expected behavior: https://bugs.php.net/fix.php?id=68006&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=68006&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=68006&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=68006&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68006&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=68006&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=68006&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=68006&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=68006&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=68006&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=68006&r=mysqlcfg