summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index ca07872..9732aae 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -9467,7 +9467,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
if ([[url absoluteString] length] <= [scheme length] + 3)
return nil;
NSString *path([[url absoluteString] substringFromIndex:[scheme length] + 3]);
- NSArray *components([path pathComponents]);
+ NSArray *components([path componentsSeparatedByString:@"/"]);
if ([scheme isEqualToString:@"apptapp"] && [components count] > 0 && [[components objectAtIndex:0] isEqualToString:@"package"])
return [self pageForPackage:[components objectAtIndex:1]];