This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author b7kich
Recipients
Date 2001-03-07.15:05:05
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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"

History
Date User Action Args
2007-08-23 13:53:28adminlinkissue406705 messages
2007-08-23 13:53:28admincreate