HTTPS added for thirdparty URLS

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@2809 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mfr69bs
2013-02-25 19:44:02 +00:00
parent 71a6fbc40b
commit caea79906f

View File

@@ -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)