GeoNode / geonode

GeoNode is an open source platform that facilitates the creation, sharing, and collaborative use of geospatial data.
https://geonode.org/
Other
1.41k stars 1.11k forks source link

Remove $ char from pw generation #12291

Open etj opened 1 month ago

etj commented 1 month ago

$ char in the .env file confuses docker that will use it as part of a variable. In order to escape $ in the .env file it should be doubled ($$), but this is reported not working in many situations.

Quick solution would be to avoid generating dollar signs when creating passwords, by removing it in this line: https://github.com/GeoNode/geonode/blob/7ef2e13858c4d2a4a37a4e7736cded3c3f291d36/create-envfile.py#L48