1 diff -ur Pantomime-orig/Source/IMAPStore.m Pantomime/Source/IMAPStore.m
2 --- Pantomime-orig/Source/IMAPStore.m 2003-07-24 15:30:36.000000000 -0600
3 +++ Pantomime/Source/IMAPStore.m 2003-08-20 15:34:02.000000000 -0600
5 password: (NSString*) thePassword
10 + NSRange aRange, aRange2;
11 // We first retain the username for future use
12 username = theUsername;
15 // We must verify if we must quote the password
16 aRange = [thePassword rangeOfCharacterFromSet: [NSCharacterSet punctuationCharacterSet]];
17 + aRange2 = [thePassword rangeOfCharacterFromSet: [NSCharacterSet whitespaceCharacterSet]];
19 - if ( aRange.length )
20 + if ( aRange.length || aRange2.length )
22 aPassword = [NSString stringWithFormat: @"\"%@\"", thePassword];
24 Only in Pantomime/Source: IMAPStore.m~