-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Escaped and quoted arguments are treated differently by the launch script depending on how it is invoked #18540
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
Comments
Update for peoples who may have the same issue: Simple workaround:
Documentation about this config property: 2.3. Application Property Files |
To reduce the risk of regression, we should tackle #20335 before fixing this issue. |
We’re cleaning out the issue tracker and closing issues that we’ve not seen much demand to fix. Feel free to comment with additional justifications if you feel that this one should not have been closed. Anyone affected by this issue should use a custom launch script that meets their needs. |
Uh oh!
There was an error while loading. Please reload this page.
A spring-boot application treats the escaping of arguments differently at startup as root or as user if it is not using the start-stop-daemon.
The issue was introduced with commit 4c65e5e by using printf for arguments if running as root or just passing the arguments if running as user.
How to reproduce:
RUN_ARGS='--spring.datasource.password=my$password$with$dollars'
Solutions to make it predictable
Additional information
I was not able to test against the start-stop-daemon. It might by that it is also ignoring the single quote arguments given in the .conf file.
The text was updated successfully, but these errors were encountered: