mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-19 12:46:03 +00:00
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
This commit is contained in:
parent
191411ebab
commit
a0c13be8c7
@ -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};
|
||||
|
Loading…
x
Reference in New Issue
Block a user