]> git.saurik.com Git - cydia.git/commitdiff
Document what not to do with cydia://.
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 2 Mar 2011 18:53:03 +0000 (10:53 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 7 Mar 2011 10:41:35 +0000 (02:41 -0800)
MobileCydia.mm

index 2257a19c0093e98b5ffe7c9b581c417c916d2d7e..030355740e26eaabb8d5ae487d98f33254552f23 100644 (file)
@@ -9597,6 +9597,9 @@ _trace();
 
     [NSURLProtocol registerClass:[CydiaURLProtocol class]];
 
 
     [NSURLProtocol registerClass:[CydiaURLProtocol class]];
 
+    // this would disallow http{,s} URLs from accessing this data
+    //[WebView registerURLSchemeAsLocal:@"cydia"];
+
     Font12_ = [[UIFont systemFontOfSize:12] retain];
     Font12Bold_ = [[UIFont boldSystemFontOfSize:12] retain];
     Font14_ = [[UIFont systemFontOfSize:14] retain];
     Font12_ = [[UIFont systemFontOfSize:12] retain];
     Font12Bold_ = [[UIFont boldSystemFontOfSize:12] retain];
     Font14_ = [[UIFont systemFontOfSize:14] retain];