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

Arguments are not correctly escaped #13

Closed
scruffyfox opened this issue Sep 14, 2016 · 1 comment
Closed

Arguments are not correctly escaped #13

scruffyfox opened this issue Sep 14, 2016 · 1 comment

Comments

@scruffyfox
Copy link

Setting input values with quotes get double quoted when executed.

Input values:

 --stacktrace -PappIcon=\"can_launcher\" -PappId="GDPC-4-3" -PappName="Be Ready" -PgaId="UA-abc-1" -PgcmId=1234 -PkeyAlias="gdpc - fa - can" -PkeyPassword=abc -Psociety=can

outputs fine from the gradle configuration debug, but when gets executed results in

+ ./gradlew --build-file Codebase/build.gradle assembleRelease --stacktrace '-PappIcon=\"can_launcher\"' '-PappId="GDPC-4-3"' '-PappName="Be' 'Ready"' '-PgaId="UA-abc-1"' -PgcmId=1234 '-PkeyAlias="gdpc' - fa - 'can"' -PkeyPassword=abc -Psociety=can

I've tried with single quotes, with double quotes, with escaped quotes, and all produce no solution

@godrei
Copy link
Contributor

godrei commented Sep 15, 2016

Hi @scruffyfox ,
thanks for the report, the issue is solved in 1.5.0.

@godrei godrei closed this as completed Sep 15, 2016
@github-actions github-actions bot locked and limited conversation to collaborators Apr 2, 2021
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