diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2015-07-10 02:41:22 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2015-07-10 02:41:22 -0700 |
commit | d93e3f2231d506192b7528ab0cab1adc4069f356 (patch) | |
tree | a5917f758b1c71662bd12567c4d59dac3783f1d3 /MobileCydia.mm | |
parent | 8a2d167ab8639560f76cefc7d6fec161cc29fceb (diff) |
Consider sources that do not end in / as "broken".
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r-- | MobileCydia.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 1615f21..abc1643 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -10382,7 +10382,7 @@ int main(int argc, char *argv[]) { _H<NSMutableArray> broken([NSMutableArray array]); for (NSString *key in (id) Sources_) - if ([key rangeOfCharacterFromSet:[NSCharacterSet characterSetWithCharactersInString:@"# "]].location != NSNotFound) + if ([key rangeOfCharacterFromSet:[NSCharacterSet characterSetWithCharactersInString:@"# "]].location != NSNotFound || ![([[Sources_ objectForKey:key] objectForKey:@"URI"] ?: @"/") hasSuffix:@"/"]) [broken addObject:key]; if ([broken count] != 0) for (NSString *key in (id) broken) |