-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[action] set_pod_key: remove shellescape of params #16421
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
@googlebot I signed it! |
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
Are you sure the current behavior is not just a bug that should be fixed? (I am missing the context what this is usually used for) |
@janpio You are right, there is no point to shellescape parameters, event if we directly call the action from terminal we have to escape our values first otherwise the command will fail. I did update the PR with the shellescape deletion |
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 makes sense to me! The shellescape was definitely not needed since it was already wrapped in quotes 🤷♂️ Thanks for fixing! ❤
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.
Congratulations! 🎉 This was released as part of fastlane 2.147.0 🚀
Checklist
bundle exec rspec
from the root directory to see all new and existing tests passbundle exec rubocop -a
to ensure the code style is validMotivation and Context
I use cocoapods-keys to store API keys but using
set_pod_key
action automatically escapes the provided parameters.So each time I provide an API key that contains escapable characters, the API key becomes malformed.
Description
Remove shellescape
Testing Steps
Before:
After: