Optional evaluation of portpassword and basicauth:
Now we can use the fritzbox builtin password git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@1635 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -22,7 +22,7 @@ sub
|
||||
GetFileFromURL($@)
|
||||
{
|
||||
my ($url, $timeout, $data, $noshutdown) = @_;
|
||||
$timeout = 2.0 if(!defined($timeout));
|
||||
$timeout = 4.0 if(!defined($timeout));
|
||||
|
||||
if($url !~ /^(http):\/\/([^:\/]+)(:\d+)?(\/.*)$/) {
|
||||
Log 1, "GetFileFromURL $url: malformed URL";
|
||||
|
||||
Reference in New Issue
Block a user