From c6a173f7f798163c17ab028dc81b2ad7d7f456d1 Mon Sep 17 00:00:00 2001 From: Thomas B. <thomas@roundcube.net> Date: Wed, 12 Jun 2013 03:08:16 -0400 Subject: [PATCH] Merge pull request #80 from weisslj/fix-http-authentication-plugin --- plugins/http_authentication/http_authentication.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/plugins/http_authentication/http_authentication.php b/plugins/http_authentication/http_authentication.php index 57227cb..2631537 100644 --- a/plugins/http_authentication/http_authentication.php +++ b/plugins/http_authentication/http_authentication.php @@ -52,7 +52,7 @@ $this->load_config(); $host = rcmail::get_instance()->config->get('http_authentication_host'); - if (is_string($host) && trim($host) !== '') + if (is_string($host) && trim($host) !== '' && empty($args['host'])) $args['host'] = rcube_utils::idn_to_ascii(rcube_utils::parse_host($host)); // Allow entering other user data in login form, -- Gitblit v1.9.1