diff options
-rw-r--r-- | MobileCydia.mm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 41bb1fc..dde9846 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -9974,7 +9974,6 @@ MSHook(id, NSURLConnection$init$, NSURLConnection *self, SEL _cmd, NSURLRequest NSURL *url([copy URL]); - NSString *href([url absoluteString]); NSString *host([url host]); NSString *scheme([[url scheme] lowercaseString]); @@ -9987,9 +9986,9 @@ MSHook(id, NSURLConnection$init$, NSURLConnection *self, SEL _cmd, NSURLRequest if (NSString *control = [copy valueForHTTPHeaderField:@"Cache-Control"]) if ([control isEqualToString:@"max-age=0"]) - if ([CachedURLs_ containsObject:href]) { + if ([CachedURLs_ containsObject:url]) { #if !ForRelease - NSLog(@"~~~: %@", href); + NSLog(@"~~~: %@", url); #endif [copy setCachePolicy:NSURLRequestReturnCacheDataDontLoad]; |