mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-21 07:56:03 +00:00
HTTPS added for thirdparty URLS
git-svn-id: https://svn.fhem.de/fhem/trunk@2809 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
3112fe928a
commit
7fcecd16ce
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user