Would it be possible to prevent generating database passwords that contain '#'?
This causes errors in .env files because '#' is used to comment stuff out.
You should not deny any characters used for passwords. Instead you have to properly escape the characters where needed. You have to use quotes around the password in .env files for example.
You should not deny any characters used for passwords. Instead you have to properly escape the characters where needed. You have to use quotes around the password in .env files for example.