• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IP addresses not accepted as option value for an action
#1
It appears that an action argument that accepts a string,  causes an error when the string is an ip address. To be more accurate, if such as string contains more than two dots, the following error occurs.

Code:
[Jun 16 14:55:12:873035] pilight-daemon: ERROR: rule #2 invalid: variable "http://1.1.1.1/action" is invalid

A simple workaround is defining hostnames for the IP addresses and use those for the action, so for me this is not something that has to be fixed immediately.
 
Reply
  


Messages In This Thread
IP addresses not accepted as option value for an action - by Niek - 06-16-2018, 04:14 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  action arguments not being checked at startup Niek 17 2,164 07-15-2018, 10:51 AM
Last Post: curlymo
  Enhanced lua label action Niek 5 829 07-04-2018, 05:28 PM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)