]> Sergey Matveev's repositories - public-inbox.git/commit
imap: quiet Parse::RecDescent errors on bad search queries
authorEric Wong <e@80x24.org>
Mon, 13 Feb 2023 01:02:12 +0000 (01:02 +0000)
committerEric Wong <e@80x24.org>
Mon, 13 Feb 2023 07:55:17 +0000 (07:55 +0000)
commitdd029354eb69c4faf3160640828fd8e7b9403855
tree5fe9b2c399175f31d0089111dcde60aa901f81cf
parent431bb226ccd7b219ad79bd52090eac10d2aa1bb6
imap: quiet Parse::RecDescent errors on bad search queries

Parse::RecDescent emits giant errors to STDERR by default
(bypassing $SIG{__WARN__}, even).  Shut it up since there's
no good way to pass those back to a client, and we don't want
clients flooding logs with bogus requests.
lib/PublicInbox/IMAPsearchqp.pm
t/imap_searchqp.t