You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Function int[] search(String msgSequence, SearchTerm term) throws ProtocolException, SearchException on line 2479 in IMAPProtocol class checks if server support UTF8.
In function private int[] issueSearch(String msgSequence, SearchTerm term, String charset) throws ProtocolException, SearchException, IOException on line 2532 Argument object is created with charset as null.
When null is passed to SearchSequence#generateSequence() it defaults to all ASCII text while parsing strings in seach terms.
I don't know if reproduction is needed here.
The text was updated successfully, but these errors were encountered:
simple reproducer and/or test for this would be appreciated as the code path itself may not be clear and straightforward to newcomers to this project...
Describe the bug
Function
int[] search(String msgSequence, SearchTerm term) throws ProtocolException, SearchException
on line 2479 inIMAPProtocol
class checks if server support UTF8.In function
private int[] issueSearch(String msgSequence, SearchTerm term, String charset) throws ProtocolException, SearchException, IOException
on line 2532Argument
object is created with charset as null.When null is passed to
SearchSequence#generateSequence()
it defaults to all ASCII text while parsing strings in seach terms.I don't know if reproduction is needed here.
The text was updated successfully, but these errors were encountered: