From 9e738e51025fb8e0cc7ca6ff872b1756c9ce84d4 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 24 Jun 2015 10:12:30 -0700 Subject: This (old...) change makes file:/// sources valid. --- MobileCydia.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MobileCydia.mm b/MobileCydia.mm index 72950d3..e0adf36 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -8625,7 +8625,7 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi case 1: { NSString *href = [[alert textField] text]; - static Pcre href_r("^http(s?)://[^# ]*$"); + static Pcre href_r("^(http(s?)://|file:///)[^# ]*$"); if (!href_r(href)) { UIAlertView *alert = [[[UIAlertView alloc] initWithTitle:[NSString stringWithFormat:Colon_, Error_, UCLocalize("INVALID_URL")] -- cgit v1.2.3