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

“create actor from task” does not correctly escape characters in the input fields #356

Open
katacek opened this issue Jan 20, 2023 · 0 comments
Labels
bug Something isn't working. medium priority Medium priority issues to be done in a couple of sprints. t-console Issues with this label are in the ownership of the console team.

Comments

@katacek
Copy link
Member

katacek commented Jan 20, 2023

The problem is probably in utilities.ts -> makeInputJsFieldsReadable() in the part below but I was not able to fix it quickly...

const replacementValue = isSingleFunction
            ? maybeFunction.replace(/[;]+$/g, '') // Remove trailing semicolons
            : `\`${maybeFunction}\``;

Reported on Slack, prnt scrn below

CleanShot 2023-01-19 at 09 46 37@2x

CleanShot 2023-01-19 at 09 45 20@2x

@gippy gippy added bug Something isn't working. t-console Issues with this label are in the ownership of the console team. labels Feb 27, 2023
@gippy gippy added the medium priority Medium priority issues to be done in a couple of sprints. label Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. medium priority Medium priority issues to be done in a couple of sprints. t-console Issues with this label are in the ownership of the console team.
Projects
None yet
Development

No branches or pull requests

2 participants