From 8e0b8ef082b50b416e38da0f81af134ec8b366c0 Mon Sep 17 00:00:00 2001 From: jpawlowski Date: Mon, 20 Feb 2017 19:08:33 +0000 Subject: [PATCH] 70_PHTV: explicit digest auth (HttpUtils patch pending) git-svn-id: https://svn.fhem.de/fhem/trunk@13473 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/70_PHTV.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fhem/FHEM/70_PHTV.pm b/fhem/FHEM/70_PHTV.pm index baea6ef1b..52f428559 100644 --- a/fhem/FHEM/70_PHTV.pm +++ b/fhem/FHEM/70_PHTV.pm @@ -1566,7 +1566,7 @@ sub PHTV_SendCommand($$;$$$) { $URL = "http://"; $URL = "https://" if ( $protoV > 5 || $address =~ m/^.+:1926$/ ); - $URL .= "$auth@" if($auth); + $URL .= "$auth@" if ($auth); $URL .= $address . "/" . $protoV . "/" . $service; $timeout = AttrVal( $name, "httpTimeout", AttrVal( $name, "timeout", 7 ) ); @@ -1585,6 +1585,7 @@ sub PHTV_SendCommand($$;$$$) { url => $URL, hideauth => 1, auth => $auth, + digest => 1, timeout => $timeout, data => $data, hash => $hash,