From: Vincent Bernat Date: Sun, 22 Jun 2008 11:40:25 +0000 (+0000) Subject: Add a new patch to fix a login problem X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=0995b7fb4c096511c758c251061e04912593b8e3;p=roundcube.git Add a new patch to fix a login problem --- diff --git a/debian/changelog b/debian/changelog index 802fbcc..31e0f60 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,7 @@ roundcube (0.2~alpha-1) UNRELEASED; urgency=low * Update the following patches: + correct_install_path + use_packaged_tinymce + * Add a new patch to fix a login problem * Depends on tinymce >= 3 -- Vincent Bernat Sun, 22 Jun 2008 12:05:44 +0200 diff --git a/debian/patches/fix_login.patch b/debian/patches/fix_login.patch new file mode 100644 index 0000000..b731043 --- /dev/null +++ b/debian/patches/fix_login.patch @@ -0,0 +1,11 @@ +--- a/program/include/rcmail.php~ 2008-06-07 21:33:07.000000000 +0200 ++++ a/program/include/rcmail.php 2008-06-22 13:36:57.000000000 +0200 +@@ -474,7 +474,7 @@ + public function autoselect_host() + { + $default_host = $this->config->get('default_host'); +- $host = !empty($default_host) ? get_input_value('_host', RCUBE_INPUT_POST) : $default_host; ++ $host = isset($_POST['_host']) ? get_input_value('_host', RCUBE_INPUT_POST) : $default_host; + + if (is_array($host)) { + list($user, $domain) = explode('@', get_input_value('_user', RCUBE_INPUT_POST)); diff --git a/debian/patches/series b/debian/patches/series index b5789c7..b2c9883 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -3,3 +3,4 @@ correct_install_path.patch use_packaged_tinymce.patch use-db-backend.patch correct-magic-path.patch +fix_login.patch