From 08df33b5c25577cf42d7f524eeaa367cbde886fb Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Mon, 15 Oct 2012 15:38:13 +0200 Subject: Partially revert 9546d22c6: don't validate with parse_charset() --- program/include/rcube_charset.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/include') diff --git a/program/include/rcube_charset.php b/program/include/rcube_charset.php index 50ddc19f4..ff4c2bbce 100644 --- a/program/include/rcube_charset.php +++ b/program/include/rcube_charset.php @@ -179,7 +179,7 @@ class rcube_charset static $mbstring_sch = null; static $conv = null; - $to = empty($to) ? RCMAIL_CHARSET : self::parse_charset($to); + $to = empty($to) ? RCMAIL_CHARSET : $to; $from = self::parse_charset($from); // It is a common case when UTF-16 charset is used with US-ASCII content (#1488654) -- cgit v1.2.3