summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-05-03 22:15:31 -1000
committerSam Bingner <sam@bingner.com>2019-05-27 14:30:27 -1000
commit04f7858ab3a4ae343dee401efc7ecd777d422b1b (patch)
tree146a5d24f134b94dded9aa8a6acf2ad2b9fa9e58 /MobileCydia.mm
parentedd5de7676db30e248caa4d9d898f9de51acc720 (diff)
Block another repo that is incompatible with elucubratus
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 44db86d..b7a9c15 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -749,7 +749,8 @@ bool isSectionVisible(NSString *section) {
static NSString *VerifySource(NSString *href) {
static RegEx href_r("(http(s?)://|file:///)[^# ]*");
- if (!href_r(href) || [href rangeOfString:@"electra" options:NSCaseInsensitiveSearch].location != NSNotFound) {
+ if (!href_r(href) || [href rangeOfString:@"electra" options:NSCaseInsensitiveSearch].location != NSNotFound ||
+ [href rangeOfString:@"chimera" options:NSCaseInsensitiveSearch].location != NSNotFound) {
[[[[UIAlertView alloc]
initWithTitle:[NSString stringWithFormat:Colon_, Error_, UCLocalize("INVALID_URL")]
message:UCLocalize("INVALID_URL_EX")