Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

avoid eval echo with encode_name #259

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

avoid eval echo with encode_name #259

jxy opened this issue Oct 10, 2018 · 1 comment

Comments

@jxy
Copy link

jxy commented Oct 10, 2018

This looks like trouble. Is it possible to use printf %q instead? I can make a PR when I have a better understanding of your code.

name="$(eval echo "$quoted_name")"
encoded_name="$(encode_name "$name")"

@xmik
Copy link

xmik commented Oct 11, 2018

@jxy Bats is not maintained anymore. See: #236

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

No branches or pull requests

2 participants