From: SourceForge.net <no...@so...> - 2007-01-22 12:08:49
|
Bugs item #1640901, was opened at 2007-01-21 18:37 Message generated for change (Comment added) made by nikosch You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=456910&aid=1640901&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: Closed >Resolution: Duplicate >Priority: 7 Private: No Submitted By: Nobody/Anonymous (nobody) >Assigned to: Nikolaus Schulz (nikosch) 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... ---------------------------------------------------------------------- >Comment By: Nikolaus Schulz (nikosch) Date: 2007-01-22 13:08 Message: Logged In: YES user_id=1594781 Originator: NO Closing since it's a duplicate of #1640878. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=456910&aid=1640901&group_id=49630 |