Message3768
Imaplib IMAP4.search() contains a bug in criteria
handling: when
sending a single word criterium it gets written to the
stream well:
M.search(None, 'ALL')
produces:
GINH16 SEARCH
ALL
But a criterium with a white space will be quoted:
M.search(None,'TEXT Hello')
produces in the tcp stream:
GINH17 SEARCH "TEXT Hello"
which gets rejected because quotes are only allowed
around
the string, not the criterium:
GINH17 SEARCH TEXT "Hello"
|
|
Date |
User |
Action |
Args |
2007-08-23 13:53:28 | admin | link | issue406705 messages |
2007-08-23 13:53:28 | admin | create | |
|