summaryrefslogtreecommitdiff
path: root/program/steps/mail/search.inc
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-03-14 13:36:59 +0100
committerAleksander Machniak <alec@alec.pl>2014-03-14 13:36:59 +0100
commitc29ca0e11d1f1b3e8695935615bf11e447c6ebf6 (patch)
treee8ea1a4f7c6e91007197e81d331cb247b1f6a1b0 /program/steps/mail/search.inc
parent50a57e9b755e80885c7a608924e6e860b28be541 (diff)
parenta9308158717265606ba4ad7fa0a290a35904c95d (diff)
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'program/steps/mail/search.inc')
-rw-r--r--program/steps/mail/search.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/program/steps/mail/search.inc b/program/steps/mail/search.inc
index a80887254..ba8b124a3 100644
--- a/program/steps/mail/search.inc
+++ b/program/steps/mail/search.inc
@@ -37,6 +37,7 @@ $filter = rcube_utils::get_input_value('_filter', rcube_utils::INPUT_GET);
$headers = rcube_utils::get_input_value('_headers', rcube_utils::INPUT_GET);
$subject = array();
+$filter = trim($filter);
$search_request = md5($mbox.$filter.$str);
// add list filter string