From: Jan Schneider Date: Wed, 23 Jun 2010 16:17:18 +0000 (+0200) Subject: Fix sending secure cookies. use_ssl == 2 doesn't mean we are really using X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=4125ffad9244b266ad2d16a3a27f95db7184cb80;p=horde.git Fix sending secure cookies. use_ssl == 2 doesn't mean we are really using SSL. Fixes bug #9039. --- diff --git a/framework/Core/lib/Horde/Core/Binder/Secret.php b/framework/Core/lib/Horde/Core/Binder/Secret.php index 089217685..19e4e21c7 100644 --- a/framework/Core/lib/Horde/Core/Binder/Secret.php +++ b/framework/Core/lib/Horde/Core/Binder/Secret.php @@ -13,7 +13,7 @@ class Horde_Core_Binder_Secret implements Horde_Injector_Binder 'cookie_domain' => $conf['cookie']['domain'], 'cookie_expire' => $conf['session']['timeout'], 'cookie_path' => $conf['cookie']['path'], - 'cookie_ssl' => (bool) $conf['use_ssl'], + 'cookie_ssl' => $conf['use_ssl'] == 1, 'session_name' => $conf['session']['name'] )); }