]> git.donarmstrong.com Git - roundcube.git/commitdiff
Add a new patch to fix a login problem
authorVincent Bernat <bernat@debian.org>
Sun, 22 Jun 2008 11:40:25 +0000 (11:40 +0000)
committerJérémy Bobbio <lunar@debian.org>
Sat, 18 Jun 2011 17:37:43 +0000 (19:37 +0200)
debian/changelog
debian/patches/fix_login.patch [new file with mode: 0644]
debian/patches/series

index 802fbcc3bac9a29d197133c71ef6950df9fdf6d7..31e0f60148d644c33bca20a8445dd54d29441030 100644 (file)
@@ -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 <bernat@debian.org>  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 (file)
index 0000000..b731043
--- /dev/null
@@ -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));
index b5789c7c92ca32cb79affe7d7791ee1e395fccf2..b2c988355a845fae98586b760954cef45615ca95 100644 (file)
@@ -3,3 +3,4 @@ correct_install_path.patch
 use_packaged_tinymce.patch
 use-db-backend.patch
 correct-magic-path.patch
+fix_login.patch