From: tokul Date: Tue, 28 Dec 2004 10:44:01 +0000 (+0000) Subject: one more place affected by #1085377 bug X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=cf2aa192e8426667f537f75259a832a3d3f0632a;p=squirrelmail.git one more place affected by #1085377 bug git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8480 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/plugins/filters/filters.php b/plugins/filters/filters.php index 74729cd8..8261c27c 100644 --- a/plugins/filters/filters.php +++ b/plugins/filters/filters.php @@ -231,7 +231,8 @@ function filter_search_and_delete($imap_stream, $where, $what, $where_to, $user_ $what = addslashes(trim($what[1])); } - if ($imap_server_type == 'macosx') { + // see comments in squirrelmail sqimap_search function + if ($imap_server_type == 'macosx' || $imap_server_type == 'hmailserver') { $search_str .= ' ' . $where . ' ' . $what; } else { $search_str .= ' ' . $where . ' {' . strlen($what) . "}\r\n"