Describe the bug
Appearently, when trying to trigger the passed json with nested props (Trigger config) the BTT crashes and restarts
JSON:
{
"BTTTriggerType" : 643,
"BTTTriggerTypeDescription" : "Named Trigger: BTT_Node1",
"BTTTriggerClass" : "BTTTriggerTypeOtherTriggers",
"BTTPredefinedActionType" : 153,
"BTTPredefinedActionName" : "Move Mouse To Position",
"BTTMoveMouseToPosition" : "{0, 0}",
"BTTMoveMouseRelative" : "0",
"BTTTriggerName" : "BTT_Node1",
"BTTEnabled2" : 1,
"BTTUUID" : "26F2E20A-57EE-45AA-B833-ED42B4DF37F1",
"BTTEnabled" : 1,
"BTTOrder" : 11,
"BTTTriggerConfig" : {
"BTTHUDText" : "hi",
"BTTShowHUD" : 1
}
}
Url that crashes BTT: http://127.0.0.1:64472/trigger_action/?json={\"BTTTriggerType\":643,\"BTTTriggerTypeDescription\":\"Named%20Trigger:%20BTT_Node1\",\"BTTTriggerClass\":\"BTTTriggerTypeOtherTriggers\",\"BTTPredefinedActionType\":153,\"BTTPredefinedActionName\":\"Move%20Mouse%20To%20Position\",\"BTTMoveMouseToPosition\":\"{0,%200}\",\"BTTMoveMouseRelative\":\"0\",\"BTTTriggerName\":\"BTT_Node1\",\"BTTEnabled2\":1,\"BTTUUID\":\"26F2E20A-57EE-45AA-B833-ED42B4DF37F1\",\"BTTEnabled\":1,\"BTTOrder\":11,\"BTTTriggerConfig\":{\"BTTHUDText\":\"hi\",\"BTTShowHUD\":1}}&shared_key=myKey
Url that works fine: http://127.0.0.1:64472/trigger_action/?json={\"BTTTriggerType\":643,\"BTTTriggerTypeDescription\":\"Named%20Trigger:%20BTT_Node1\",\"BTTTriggerClass\":\"BTTTriggerTypeOtherTriggers\",\"BTTPredefinedActionType\":153,\"BTTPredefinedActionName\":\"Move%20Mouse%20To%20Position\",\"BTTMoveMouseToPosition\":\"{0,%200}\",\"BTTMoveMouseRelative\":\"0\",\"BTTTriggerName\":\"BTT_Node1\",\"BTTEnabled2\":1,\"BTTUUID\":\"26F2E20A-57EE-45AA-B833-ED42B4DF37F1\",\"BTTEnabled\":1,\"BTTOrder\":11}&shared_key=myKey
Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):
Webserver
Device information:
- Type of Mac: mbp 13" mid 2014
- macOS version: 10.13.5
- BetterTouchTool version: 2.517 alpha