diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-03-14 13:11:36 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-03-14 13:11:36 +0100 |
commit | a9308158717265606ba4ad7fa0a290a35904c95d (patch) | |
tree | db76ce79902ad38c1a395e85790a9bf74df6f0a4 /program/steps/mail/search.inc | |
parent | 1b0b398778eac83ebc628da657f428456c8b15c1 (diff) |
Trim search filter to prevent from creating invalid search criteria when skip_deleted = true.
Diffstat (limited to 'program/steps/mail/search.inc')
-rw-r--r-- | program/steps/mail/search.inc | 1 |
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 |