Permalink
Browse files

Merge pull request #98 from TRIMER/master

Bug fix for 'No, thanks' button
  • Loading branch information...
2 parents 406971e + 8f668fc commit d26af5ad77a44a7bab45c6c018f64c6dda1304b8 @bengottlieb committed Mar 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Twitter+OAuth/SAOAuthTwitterEngine/SA_OAuthTwitterController.m
@@ -341,7 +341,7 @@ - (BOOL) webView: (UIWebView *) webView shouldStartLoadWithRequest: (NSURLReques
NSData *data = [request HTTPBody];
char *raw = data ? (char *) [data bytes] : "";
- if (raw && strstr(raw, "cancel=")) {
+ if (raw && (strstr(raw, "cancel=") || strstr(raw, "deny="))) {
[self denied];
return NO;
}

0 comments on commit d26af5a

Please sign in to comment.