Skip to content

Provide extensions to safely escape input strings #493

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

Open
kislyuk opened this issue Apr 1, 2021 · 0 comments
Open

Provide extensions to safely escape input strings #493

kislyuk opened this issue Apr 1, 2021 · 0 comments
Labels

Comments

@kislyuk
Copy link
Contributor

kislyuk commented Apr 1, 2021

Per openwdl/wdl#443, the spec does not provide a straightforward way to safely interpolate strings in command blocks. This issue is about providing this functionality on an extension basis (with the hope of suggesting it for standardization in the future). Specifically, we can use a runtime configuration flag or plugin to control the behavior of quote() and squote(), making them work on scalars and escape internal quotes in the string using an escape character (defaulting to \).

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

No branches or pull requests

2 participants