Changelog the previous change, fix the enumerating of all cookies (thanks ypisetsky). adium-1.5.3
authorThijs Alkemade <thijsalkemade@gmail.com>
Wed, 25 Jul 2012 01:08:29 +0200
branchadium-1.5.3
changeset 4907c9f0ada1220d
parent 4906 c2721a058c9b
child 4908 d8b4d0dcc831
Changelog the previous change, fix the enumerating of all cookies (thanks ypisetsky).

Refs #15705
ChangeLogs/Changes.txt
Plugins/Purple Service/AIFacebookXMPPOAuthWebViewWindowController.m
     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;