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

"Invalid Char" error when passing an event.detail.link.url tag if the url contains an "=" #3

Open
clptak opened this issue Aug 20, 2023 · 0 comments

Comments

@clptak
Copy link

clptak commented Aug 20, 2023

When passing a link () that has at least one “=” in the url attribute, the tak node provides the following error.

{"message":"Could not encode TAK payload.","exception":"Error: Invalid character in entity name\nLine: 0\nColumn: 426\nChar: ="}

One way to work around it is to use encodeURIComponent(url) to pass the JSON object through the node and after passing through the tak node's output 1, use a change node to convert the ASCII values back to text before it passes through a tcp out node.

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