Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not escaping COMMA character in saved routes file #32

Open
benjaminauer opened this issue Dec 28, 2024 · 1 comment
Open

not escaping COMMA character in saved routes file #32

benjaminauer opened this issue Dec 28, 2024 · 1 comment

Comments

@benjaminauer
Copy link

I have started to abuse the software by writing little javascript scripts.
As some scripts need to use comma and the saved file seems to be straight up simple comma seperated and new lines, things go bad
what happens is all scripts that use a comma are broken (truncated after the first comma). having to copy paste it from another file manually into the field.

special characters need to be escaped in routes file.
xtouchmini_routes.osc.txt
{0F382133-C5AD-4F00-B746-EABD9970AEB6}

@benjaminauer
Copy link
Author

to navigate the issue, i can offer to anyone ever coming back to this a workaround
creating a string can be done differently:
id = "10-11-12-13-14-15-16-17".split("-");
or laboriously:

let arr = [];
arr['key1'] = 'value1';
arr['key2'] = 'value2';
arr['key3'] = 'value3';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant