]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
imap: Fix using $ in a SEARCH that also uses SAVE, or fails with BAD
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 13 Mar 2020 09:55:51 +0000 (11:55 +0200)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Fri, 20 Mar 2020 08:03:57 +0000 (08:03 +0000)
commit3fd9db0dd0d3c6216709b42a79ee49f59828c34f
tree5c068c7fc3a3d033b43a9b921f9ea2ed663b7786
parent704eec77b341db5761dac8c5bfbd87ecd5841579
imap: Fix using $ in a SEARCH that also uses SAVE, or fails with BAD

SEARCH RETURN (SAVE) $ cleared the $ instead of being a no-op.

Also using a SEARCH that returns BAD shouldn't have cleared $ (but NO
reply especially for BADCHARSET should clear it).
src/imap/imap-search-args.c
src/imap/imap-search.c