summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-05 03:54:19 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:37 -0800
commitd323285e7d6f4836a189d9419b716b7dbc8c2da6 (patch)
tree4f51eaf53ddb0bfc4c744d101c275c414f0e0285 /MobileCydia.mm
parent9dbfe708245db7d2dd2c8e779efb413ef0c3f8d3 (diff)
Disallow serializing ignored URLs to the state.
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 10a6f51..e6b6ca5 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -4472,7 +4472,7 @@ static NSMutableSet *Diversions_;
}
- (NSURL *) navigationURL {
- return [NSURL URLWithString:[NSString stringWithFormat:@"cydia://url/%@", [[request_ URL] absoluteString]]];
+ return request_ == nil ? nil : [NSURL URLWithString:[NSString stringWithFormat:@"cydia://url/%@", [[request_ URL] absoluteString]]];
}
+ (void) initialize {