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
{{ message }}
Repository navigation
imaplib misquotes *params* for Shift_JIS, Big5, GBK and ISO-2022-JP #163000
With a search charset such as Shift_JIS, Big5, GBK or ISO-2022-JP, IMAP4.search(), sort(), thread() and uid() escape a params value before encoding it to the charset. A \ or " byte inside an encoded character is then left unescaped, so the quoted string ends early and swallows the next criterion. The docs say the values are "substituted, and quoted as required".
A fake server that prints the quoted strings it parses from the command:
Activity