¶m bug on rules
Moderators: grovkillen, Stuntteam, TD-er
¶m bug on rules
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
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
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.
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
Thanks Martinus, no more bad characters!
Re: ¶m bug on rules
Thanks Martinus, cool
Who is online
Users browsing this forum: Google [Bot] and 21 guests