Permalink
Browse files

Added support to TTURLMap for the file scheme.

  • Loading branch information...
Eric Chamberlain
Eric Chamberlain committed Feb 14, 2011
1 parent 532e107 commit fbbd9da624a74780cd73f43f905ee5b74961db79
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/Three20UINavigator/Sources/TTURLMap.m
@@ -156,7 +156,8 @@ - (BOOL)isWebURL:(NSURL*)URL {
|| [URL.scheme caseInsensitiveCompare:@"https"] == NSOrderedSame
|| [URL.scheme caseInsensitiveCompare:@"ftp"] == NSOrderedSame
|| [URL.scheme caseInsensitiveCompare:@"ftps"] == NSOrderedSame
- || [URL.scheme caseInsensitiveCompare:@"data"] == NSOrderedSame;
+ || [URL.scheme caseInsensitiveCompare:@"data"] == NSOrderedSame
+ || [URL.scheme caseInsensitiveCompare:@"file"] == NSOrderedSame;
}

0 comments on commit fbbd9da

Please sign in to comment.