Error with spaces in password

Bug #186874 reported by Tim Brom
2
Affects Status Importance Assigned to Milestone
cGmail
New
Undecided
Unassigned

Bug Description

I tried to enter my password for my IMAP account, which has spaces and this caused cGmail to choke. I found that changing line 41 of the lib/keyringaccounts.py file from

couple = element.split()

To

couple = element.split(None, 1)

fixed the problem. The 1 in the split limits the number of splits to one, so spaces after the first one are ignored.

Besides that, I am enjoying the program.

Revision history for this message
Marco Ferragina (ferama) wrote :

You have this bug on cGmail 0.4.1 but cGmail 0.5 is out and should not have this bug

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.