Hi,

On 19.07.2014 01:00, Ondřej Surý wrote:
Only thing that's broken right now is getallheaders() in php5-fpm,
so there's a remote possibility that roundcube is using that...

Anyway RC3 should be out soon and I'll fix getallheaders there, so
it might help...

I think that is indeed the case. getallheaders() is used if it exists.

    public static function request_header($name)
    {
        if (function_exists('getallheaders')) {
            $hdrs = array_change_key_case(getallheaders(), CASE_UPPER);
            $key  = strtoupper($name);
        }
        else {
            $key  = 'HTTP_' . strtoupper(strtr($name, '-', '_'));
            $hdrs = array_change_key_case($_SERVER, CASE_UPPER);
        }

        return $hdrs[$key];
    }

Best Regards,
Bernhard


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to