From a0c13be8c75b33ca04ba09f50a39f9599c042a49 Mon Sep 17 00:00:00 2001 From: fhainz <> Date: Wed, 18 Mar 2015 15:49:09 +0000 Subject: [PATCH] 70_Pushbullet.pm: Allow https links (http://forum.fhem.de/index.php/topic,29796.msg274891.html#msg274891) git-svn-id: https://svn.fhem.de/fhem/trunk@8235 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/70_Pushbullet.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/70_Pushbullet.pm b/fhem/FHEM/70_Pushbullet.pm index 869f2fa63..c4afb5210 100755 --- a/fhem/FHEM/70_Pushbullet.pm +++ b/fhem/FHEM/70_Pushbullet.pm @@ -163,7 +163,7 @@ sub Pushbullet_Set($@) { ($link, $title, $deviceNick, $deviceIden, $deviceEmail) = Pushbullet_checkArgs($hash, $cmd, @setValues); # Link check - return "URL is not valid. Correct sytax: set " . $name . " link http://www.google.com [| Title | Device] " if( $link !~ /^http:\/\// ); + return "URL is not valid. Correct sytax: set " . $name . " link http://www.google.com [| Title | Device] " if( $link !~ /^(http|https):\/\// ); # Push geht an Device $jsonHash = {'type' => 'link', 'device_iden' => $deviceIden, 'title' => $title, 'url' => $link};