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

Escape &,> in --set and --build-arg #329

Open
northtyphoon opened this issue Oct 10, 2018 · 1 comment
Open

Escape &,> in --set and --build-arg #329

northtyphoon opened this issue Oct 10, 2018 · 1 comment

Comments

@northtyphoon
Copy link
Member

Feature Request: Escape the & > passed in --build-arg and --set options, eg

acb build --build-arg arg1=a&b  => arg1=a\&b
acb exec --set key1=a>b => key1=a\>b

Maybe it's just safe to escape all chars passed in --build-arg and --set, eg \a\r\g\1\=\a\&\b

@blueboxes
Copy link

I had the same issue if it contains { as it errors saying there is no closing braket

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

No branches or pull requests

3 participants