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

Double quotes in messsage return are not escaped #7

Open
ereslibre opened this issue May 31, 2021 · 0 comments
Open

Double quotes in messsage return are not escaped #7

ereslibre opened this issue May 31, 2021 · 0 comments

Comments

@ereslibre
Copy link
Member

If the user adds a double quote to the message either in RejectRequest or RejectSettings, the go SDK does not properly escape them and an invalid JSON is produced that will later be troublesome, either for the policy-server or for kwctl through the policy-evaluator.

We need to escape the JSON produced by the policy author, but given the limitations of TinyGo this does not seem to be a trivial operation.

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

2 participants