File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -276,6 +276,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
276
276
277
277
## Versions
278
278
279
+ * ** 05.01.23:** - Fix db password setting (sed escape ` & ` ).
279
280
* ** 21.12.22:** - Update db info in .env file when env vars are updated.
280
281
* ** 10.10.22:** - Remove password escape logic which caused problems for a small subset of users.
281
282
* ** 20.08.22:** - Rebasing to alpine 3.15 with php8. Restructure nginx configs ([ see changes announcement] ( https://info.linuxserver.io/issues/2022-08-20-nginx-base ) ).
Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ app_setup_block: |
104
104
105
105
# changelog
106
106
changelogs :
107
+ - { date: "05.01.23:", desc: "Fix db password setting (sed escape `&`)." }
107
108
- { date: "21.12.22:", desc: "Update db info in .env file when env vars are updated." }
108
109
- { date: "10.10.22:", desc: "Remove password escape logic which caused problems for a small subset of users." }
109
110
- { date: "20.08.22:", desc: "Rebasing to alpine 3.15 with php8. Restructure nginx configs ([see changes announcement](https://info.linuxserver.io/issues/2022-08-20-nginx-base))." }
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ if [[ -n "${DB_HOST}" ]]; then
92
92
sed -i -E "s/^[#]?DB_PORT=.*/DB_PORT=${DB_PORT}/g" /config/www/.env
93
93
sed -i -E "s/^[#]?DB_DATABASE=.*/DB_DATABASE=${DB_DATABASE}/g" /config/www/.env
94
94
sed -i -E "s/^[#]?DB_USERNAME=.*/DB_USERNAME=${DB_USER}/g" /config/www/.env
95
- sed -i -E "s/^[#]?DB_PASSWORD=.*/DB_PASSWORD=${DB_PASS}/g" /config/www/.env
95
+ sed -i -E "s/^[#]?DB_PASSWORD=.*/DB_PASSWORD=${DB_PASS//&/\\& }/g" /config/www/.env
96
96
fi
97
97
98
98
# set appurl
You can’t perform that action at this time.
0 commit comments