Changelog the previous change, fix the enumerating of all cookies (thanks ypisetsky).
Refs #15705
1.1 --- a/ChangeLogs/Changes.txt Wed Jul 25 01:01:46 2012 +0200
1.2 +++ b/ChangeLogs/Changes.txt Wed Jul 25 01:08:29 2012 +0200
1.3 @@ -1,5 +1,8 @@
1.4 Adium Version History
1.5 -----------------------
1.6 +Version 1.5.3 (XX/XX/XXXX)
1.7 + * Fixed an issue that caused logging in to Facebook to fail when login approvals are enabled. (#15705)
1.8 +
1.9 Version 1.5.2 (7/21/2012)
1.10 * Fixed an issue where the log indexer would never finish.
1.11 * Fixed a number of crashes that could occur after closing the Transcript Viewer. (#15984, #15823)
2.1 --- a/Plugins/Purple Service/AIFacebookXMPPOAuthWebViewWindowController.m Wed Jul 25 01:01:46 2012 +0200
2.2 +++ b/Plugins/Purple Service/AIFacebookXMPPOAuthWebViewWindowController.m Wed Jul 25 01:08:29 2012 +0200
2.3 @@ -176,7 +176,7 @@
2.4 NSMutableArray *sentCookies = [NSMutableArray array];
2.5
2.6 // same origin: domain, port, path.
2.7 - for (NSHTTPCookie *cookie in cookies) {
2.8 + for (NSHTTPCookie *cookie in cookies.allValues) {
2.9 if ([[cookie expiresDate] timeIntervalSinceNow] < 0) {
2.10 //NSLog(@"****** expired: %@", cookie);
2.11 continue;