System architecture
Linux
PHP Version
No response
Bug description
The docker entrypoint script docker-entrypoint.sh uses sed to replace username/password placeholders:
sed -i "s|username|${username}|g" ${exposeConfigPath}
sed -i "s|password|${password}|g" ${exposeConfigPath}
This breaks when the password contains sed special characters.
Steps to reproduce
- Set password environment variable containing &: password=MyPass&#
- Start the container
- Check the config - password becomes MyPasspassword# instead of MyPass&#
Relevant log output