From f06aa8058b7e32ba32d4551074b6e0b8a300f751 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli <thomas@roundcube.net> Date: Mon, 21 Oct 2013 15:02:40 -0400 Subject: [PATCH] Bump version after security fix --- program/include/rcube_charset.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/program/include/rcube_charset.php b/program/include/rcube_charset.php index fc1685d..2c8d3a0 100644 --- a/program/include/rcube_charset.php +++ b/program/include/rcube_charset.php @@ -89,7 +89,7 @@ * Sometimes charset string is malformed, there are also charset aliases * but we need strict names for charset conversion (specially utf8 class) * - * @param string Input charset name + * @param string $input Input charset name * * @return string The validated charset name */ @@ -182,7 +182,7 @@ static $mbstring_list = null; static $conv = null; - $to = empty($to) ? strtoupper(RCMAIL_CHARSET) : self::parse($to); + $to = empty($to) ? strtoupper(RCMAIL_CHARSET) : $to; $from = self::parse($from); // It is a common case when UTF-16 charset is used with US-ASCII content (#1488654) -- Gitblit v1.9.1