2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-19 12:46:03 +00:00
git-svn-id: https://svn.fhem.de/fhem/trunk@8235 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
fhainz 2015-03-18 15:49:09 +00:00
parent 191411ebab
commit a0c13be8c7

View File

@ -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};