From: SourceForge.net <no...@so...> - 2007-01-21 17:06:42
|
Bugs item #1640878, was opened at 2007-01-21 09:06 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=456910&aid=1640878&group_id=49630 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: imap mailbox with username containing "@" character Initial Comment: Hi, imap mailbox specifications that contain the "@" character in the username field causes the spec parsing to fail. This is due to the changes made in version 0.7.0 in order to get more flexibility in the password handling of imap mailboxes. In versions before 0.7.0, the username substring was separated from the imap server substring by searching for an ":" in the specification. In version 0.7.0 this was replaced by the search for the "@" character, which causes the parser bug. I don't know much about python, but performing a reverse split instead of a 'normal' split in line 1308 seems to work: "imap_str.split('@', 1)" -> "imap_str.rsplit('@', 1)" I believe this to be stable because the last "@" character always specifies the separator between user name and server as long as the imap server configuration does not make use of this character as the folder separator... Best regards, Markus Pister we...@ma... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=456910&aid=1640878&group_id=49630 |