summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-14 04:57:01 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-14 05:09:12 -0700
commit3a159223601cb8047afcba6c51be5d9cd8c016b2 (patch)
tree26de77c186626e318aacde7b3c48672352ddbafa /MobileCydia.mm
parent02735663649dfde40b64f23abe4cc346295574ec (diff)
Support trailing slash on saved state URLs.
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]];