Skip to content

Entrypoint escaping was breaking passwords with control characters for sed#8

Open
jonbartels wants to merge 3 commits into
OpenIntegrationEngine:mainfrom
jonbartels:main
Open

Entrypoint escaping was breaking passwords with control characters for sed#8
jonbartels wants to merge 3 commits into
OpenIntegrationEngine:mainfrom
jonbartels:main

Conversation

@jonbartels

Copy link
Copy Markdown
Contributor

When passwords are read from env vars, they are handled by the entrypoint to update the application properties file. This handling was not correctly escaping the strings and interactions with sed and control characters for sed were breaking deployments with complex passwords.

This introduces a function to DRY up the code and uses awk instead of sed to avoid control character issues.

…oint to update the application properties file. This handling was not correctly escaping the strings and interactions with sed and control characters for sed were breaking deployments with complex passwords.

This introduces a function to DRY up the code and uses awk instead of sed to avoid control character issues.

Signed-off-by: Jon Bartels <jonathan.bartels@gmail.com>
Signed-off-by: Jon Bartels <jonathan.bartels@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant