ngnix-flask-mysql: when reading password secret file, should strip after read #74

Open
opened 2025-11-06 14:18:02 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @louking on GitHub (Feb 18, 2023).

Suggest adding .strip() after .read() at e6b1d2755f/nginx-flask-mysql/backend/hello.py (L11)

I spent days debugging a secrets file which had an errant LF character at the end.

See also https://stackoverflow.com/a/75488788/799921

Originally created by @louking on GitHub (Feb 18, 2023). Suggest adding `.strip()` after `.read()` at https://github.com/docker/awesome-compose/blob/e6b1d2755f2f72a363fc346e52dce10cace846c8/nginx-flask-mysql/backend/hello.py#L11 I spent days debugging a secrets file which had an errant LF character at the end. See also https://stackoverflow.com/a/75488788/799921
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-compose#74