Skip to content

Commit

Permalink
1.2.5: remove stray NSLog statement
Browse files Browse the repository at this point in the history
  • Loading branch information
mtigas committed Aug 23, 2012
1 parent a389901 commit d88c2dd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions OnionBrowser/ProxyURLProtocol.m
Expand Up @@ -65,9 +65,6 @@ - (void)appendData:(NSData *)newData {

+ (BOOL)canInitWithRequest:(NSURLRequest *)request {
if ( !([[[request URL] scheme] isEqualToString:@"file"] || [[[request URL] scheme] isEqualToString:@"data"]) ) {
if (!([[[request URL] scheme] isEqualToString:@"http"]||[[[request URL] scheme] isEqualToString:@"https"])) {
NSLog(@"%@", [[request URL] scheme]);
}
// Previously we checked if it matched "http" or "https". Apparently
// UIWebView can attempt to make FTP connections for HTML page resources (i.e.
// a <link> tag for a CSS file with an FTP scheme.). So we whitelist
Expand Down

0 comments on commit d88c2dd

Please sign in to comment.