Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
[PATCH] mirrorbrain.conf: Trailing spaces in passwords are taken #112
Issue migrated (2015-06-05) from old issue tracker http://mirrorbrain.org/issues/issue112
issue_112.patch jcpunk, 2013-04-19.19:04:31 text/x-patch
msg400 (view) Author: poeml Date: 2012-06-27.21:03:08
(Related to issue 27)
Trailing spaces in /etc/mirrorbrain.conf dbpass values are taken literally, which
msg423 (view) Author: jcpunk Date: 2013-04-19.19:04:31
I've attached a patch that fixes this issue.
msg488 (view) Author: poeml Date: 2014-01-29.22:47:32
Hm, I think the .rstrip() should run before the .replace(' ', r'\ ')
Otherwise, one could end up with a password ending with a trailing backslash instead of
So I think, better is:
msg489 (view) Author: poeml Date: 2014-01-29.22:51:10
Committed to SVN trunk, r8345. Thanks, Pat!
(end of migrated issue)