From caea79906fa530925c59bc4ee9a1eefade443d81 Mon Sep 17 00:00:00 2001 From: mfr69bs Date: Mon, 25 Feb 2013 19:44:02 +0000 Subject: [PATCH] HTTPS added for thirdparty URLS git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@2809 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_update.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhem/FHEM/98_update.pm b/fhem/FHEM/98_update.pm index 224ac20d5..2f414aa2e 100644 --- a/fhem/FHEM/98_update.pm +++ b/fhem/FHEM/98_update.pm @@ -127,7 +127,7 @@ CommandUpdate($$) return "Usage: update [development|stable] check"; } elsif ($BRANCH eq "THIRDPARTY" && - (uc($args[1]) !~ m/^HTTP:/ || + (uc($args[1]) !~ m/^(HTTP|HTTPS):/ || uc($args[3]) !~ "CHECK" || int(@args) != 4) ) { @@ -135,7 +135,7 @@ CommandUpdate($$) } } elsif ($BRANCH eq "THIRDPARTY" && - (uc($args[1]) !~ m/^HTTP:/ || + (uc($args[1]) !~ m/^(HTTP|HTTPS):/ || (int(@args) == 4 && uc($args[3]) ne "FORCE") || int(@args) > 4)