From a192257ed136ace67ac80a61d939f3e59942a92d Mon Sep 17 00:00:00 2001 From: alec Date: Wed, 29 Sep 2010 12:36:53 +0000 Subject: - Add Internationalized Domain Name (IDNA) support (#1483894) git-svn-id: https://svn.roundcube.net/trunk@4010 208e9e7b-5314-0410-a742-e7e81cd9613c --- plugins/managesieve/managesieve.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/managesieve') diff --git a/plugins/managesieve/managesieve.php b/plugins/managesieve/managesieve.php index 4705d54db..81e6eb7f9 100644 --- a/plugins/managesieve/managesieve.php +++ b/plugins/managesieve/managesieve.php @@ -65,6 +65,8 @@ class managesieve extends rcube_plugin $host = rcube_parse_host($this->rc->config->get('managesieve_host', 'localhost')); $port = $this->rc->config->get('managesieve_port', 2000); + $host = idn_to_ascii($host); + // try to connect to managesieve server and to fetch the script $this->sieve = new rcube_sieve($_SESSION['username'], $this->rc->decrypt($_SESSION['password']), $host, $port, -- cgit v1.2.3