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

fix(quotes): Add double-quotes for REDIS_PASSWORD #18

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

shymega
Copy link

@shymega shymega commented Jan 2, 2024

This allows special characters to be used, fixing: #3

It will also ensure that the resulting server instance remains accessible when the password has special characters.

shymega added a commit to shymega/fly-apps-redis that referenced this pull request Jan 2, 2024
This is related to fly-apps#18, in the
context of resolving double-quote escape issues.

There's no known report of this Dockerfile being an issue in the wild,
but given fly-apps#18, I felt it would be
a good idea to nip it in the bud.
This allows special characters to be used, fixing:
fly-apps#3

It will also ensure that the resulting server instance remains
accessible when the password has special characters.

Had to double-quote the `redis-server` password argument, and escape the
double quotes in `PW_ARG`, to make sure it was assigned correctly.

Signed-off-by: Dom Rodriguez <[email protected]>
This should prevent issues with whitespace, or globbing-related issues.

Signed-off-by: Dom Rodriguez <[email protected]>
shymega added a commit to shymega/fly-apps-redis that referenced this pull request Jan 4, 2024
This is related to fly-apps#18, in the
context of resolving double-quote escape issues.

There's no known report of this Dockerfile being an issue in the wild,
but given fly-apps#18, I felt it would be
a good idea to nip it in the bud.

Signed-off-by: Dom Rodriguez <[email protected]>
@shymega shymega force-pushed the enhancement/doublequotes/script branch from 5a1ef36 to 6eab9ac Compare January 4, 2024 22:03
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