simplerisk / docker

SimpleRisk Docker Repository
https://www.simplerisk.com
Mozilla Public License 2.0
29 stars 21 forks source link

support special characters in passwords #85

Closed kale1d0code closed 5 months ago

kale1d0code commented 5 months ago

the DB_SETUP_PASS environment variable does not support the '<' character. using a database password with a '<' symbol causes the following error messsage:

bash: line 1: : No such file or directory Was not able to apply settings on database. Check error above. Exiting.

jsokol commented 5 months ago

The entrypoint.sh script is a bash script and the '<' character is a control character in bash. Other bash control characters such as |, >, and ` would not be allowed, as well. If you have suggestions for how to modify the script to support this special characters, feel free to submit a PR for it, but we do not have plans to make this change at this time.