Fix broken header handling when PHP not being used as an Apache module.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 29 Mar 2010 18:38:49 +0000 (14:38 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 29 Mar 2010 18:38:49 +0000 (14:38 -0400)
commit2aa47b34d9acd2b029aa10ad96a0048b59dc06a6
tree4f4fa01edce1c601ef25f8e7b75f8f7c01b13794
parent6fa8b14b533243f9bb58cd94564fe8c439613edb
Fix broken header handling when PHP not being used as an Apache module.

the $userdata argument to array_walk cannot be passed by reference, so we need
to iterate the _SERVER array manually, map the headers we know about, but
try our best to parse X-* headers as well.
framework/Controller/lib/Horde/Controller/Request/Http.php