Aleksander Machniak
2015-11-06 48ab1add3548beecedb60e6355e4c4dbfb1d6bc1
Add workaround for https://bugs.php.net/bug.php?id=70757 (#1490582)

Conflicts:

CHANGELOG
2 files modified
9 ■■■■ changed files
CHANGELOG 2 ●●●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube.php 7 ●●●● patch | view | raw | blame | history
CHANGELOG
@@ -1,6 +1,8 @@
CHANGELOG Roundcube Webmail
===========================
- Add workaround for https://bugs.php.net/bug.php?id=70757 (#1490582)
RELEASE 1.0.7
-------------
- Get rid of Mail_mimeDecode package dependency (#1490416)
program/lib/Roundcube/rcube.php
@@ -464,8 +464,13 @@
        // use database for storing session data
        $this->session = new rcube_session($this->get_dbh(), $this->config);
        $path = $_SERVER['SCRIPT_NAME'];
        if (strpos($path, '://')) {
            $path = parse_url($path, PHP_URL_PATH); // #1490582
        }
        $this->session->register_gc_handler(array($this, 'gc'));
        $this->session->set_secret($this->config->get('des_key') . dirname($_SERVER['SCRIPT_NAME']));
        $this->session->set_secret($this->config->get('des_key') . dirname($path));
        $this->session->set_ip_check($this->config->get('ip_check'));
        if ($this->config->get('session_auth_name')) {