Bug fix for 'No, thanks' button #98

Merged
merged 1 commit into from Mar 6, 2012
View
2 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;
}