Page 1 of 1
¶m bug on rules
Posted: 15 Jan 2017, 16:10
by fabix68
Even with the latest firmware remains the bug with the word "¶m" which is converted to ¶m.
You may not be able to correct it?
Re: ¶m bug on rules
Posted: 15 Jan 2017, 21:10
by aprex
Yes, please, it will be fine to send alerts to Domoticz, instead of waiting 5 minutes for a device refresh...
Re: ¶m bug on rules
Posted: 16 Jan 2017, 09:34
by Martinus
It seems that if ¶ is shown somewhere in a webform, the ¶ is interpreted as the HTML escape sequence for a paragraph sign, looking like a backwards P.
I don't know where it should be fixed and it's possible that it does not occur on all browsers.
But there's a workaround for this particular bug: Use the ¶m as the first name-value pair in the URL so it becomes ?param and it will no longer be misinterpreted.
Example:
change this:
sendtohttp 192.168.0.8,8080,/json.htm?type=command¶m=udevice&idx=286&svalue=%eventvalue%
into:
sendtohttp 192.168.0.8,8080,/json.htm?param=udevice&type=command&idx=286&svalue=%eventvalue%
So we've just changed the order in which the url is build up.
Re: ¶m bug on rules
Posted: 16 Jan 2017, 15:57
by aprex
Thanks Martinus, no more bad characters!
Re: ¶m bug on rules
Posted: 16 Jan 2017, 22:14
by fabix68
Thanks Martinus
Re: ¶m bug on rules
Posted: 16 Jan 2017, 22:33
by Jeff
Thanks Martinus, cool

Re: ¶m bug on rules
Posted: 18 Jan 2017, 12:53
by ayasystems
COOL!