/command/setState
crashes Adapter, when state contains an url encoded '%' sign
#84
Labels
/command/setState
crashes Adapter, when state contains an url encoded '%' sign
#84
Describe the bug
When setting the value of a state with the GET command
/command/setState
and the value contains an url encoded '%' sign (%25), then the whole adapter crashes.To Reproduce
Execute
curl -X 'GET' 'http://iobroker.lan:8093/v1/command/setState?id=0_userdata.0.test&state=100%25' -H 'accept: application/json'
Expected behavior
The value of the state
0_userdata.0.test
contains100%
Screenshots & Logfiles
Exception in ioBroker log:
Versions:
The text was updated successfully, but these errors were encountered: