Skip to content

Conversation

RayHammer
Copy link

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

If any of the env vars among SUPABASE_ANON_KEY, SUPABASE_SERVICE_KEY, DASHBOARD_USERNAME or DASHBOARD_PASSWORD for Kong happen to be Base64-encoded and/or contain forward slashes, sed will fail to process them into a template, throwing a parsing error

What is the new behavior?

With delimiters replaces by | symbols, these may fix an aforementioned issue, but it would become undesirable to use this symbol in any of the environment variables

Additional context

By all means, it's a quick and dirty fix, as it substitutes one illegal symbol for a less common one. A better fix may be in order that would not rely on using any of the symbols that may break the substitution

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