imaplib argument quoting

Piers Lauder piers at cs.su.oz.au
Sun Dec 12 21:23:41 EST 1999


Michael Higgins has pointed out there is a bug in the version of imaplib.py
distributed with Python 1.5.2 that prevents passwords being used if they
contain characters that are sensitive to the IMAP4 protocol (such as a '(').

A horrible oversight on my part - sorry! There is a new version with
fixed argument quoting at:
	http://www.cs.su.oz.au/~piers/imaplib.py

Note that the new module now forces quoting of password arguments, so if
you have been getting round this bug by quoting the password argument to
login yourself before calling the IMAP4 method, the new code won't work.








More information about the Python-list mailing list