-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Bug: make all collected args use single quote #11609
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
base: master
Are you sure you want to change the base?
Conversation
Thus, preventing expansion, if applicable. Fixes apache#10421
|
@cstamas any update on this? |
|
Someone should review this... |
|
It looks fine to me, but I'm far from a bash expert… |
|
@michael-o ping |
| # Add remaining arguments with proper quoting | ||
| for arg in "$@"; do | ||
| cmd="$cmd \"$arg\"" | ||
| cmd="$cmd '$arg'" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This changes semantics "@" does already the quoting for us. I think this needs an IT.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, according to your comment, this change is not needed and the issue it fixes is fluke?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't say its fluke, but we need to understand what this change causes and an IT with it. I wouldn't easily apply it.
Thus, preventing expansion, if applicable.
Fixes #10421