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

[Bug]: Issue when Postgres password has "=" sign #3437

Open
1 of 2 tasks
itsbjoern opened this issue Sep 14, 2024 · 0 comments
Open
1 of 2 tasks

[Bug]: Issue when Postgres password has "=" sign #3437

itsbjoern opened this issue Sep 14, 2024 · 0 comments

Comments

@itsbjoern
Copy link

Description

When the autogenerated postgres password has a "=" in it (possibly this only ever occurs at the end), it is incorrectly displayed without in the frontend. In my case it was a password in the format of "ABCDEFG=", but what was displayed was just "ABDEFG".

I'm pretty sure the offending line is here:

$env = explode('=', $env);

Not 100% sure on the PHP syntax but I imagine explode works like split in that it just removes the trailing =

Minimal Reproduction (if possible, example repository)

Have a coolify-db instance that has an env with POSTGRES_PASSWORD= ending with (or including) =

Exception or Error

No response

Version

v4.0.0-beta.335

Cloud?

  • Yes
  • No
@itsbjoern itsbjoern changed the title [Bug]: Autogenerated postgres password has "=" sign [Bug]: Issue when Postgres password has "=" sign Sep 14, 2024
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

No branches or pull requests

1 participant