Hide password from repository URLs

This commit is contained in:
Fred
2020-03-20 22:52:27 +00:00
committed by Michael Eischer
parent 10e3340863
commit 206cadfab4
6 changed files with 172 additions and 21 deletions

View File

@@ -0,0 +1,10 @@
Bugfix: Hide password in REST backend repository URLs
When using a password in the REST backend repository URL,
the password could in some cases be included in the output
from restic, e.g. when initializing a repo or during an error.
The password is now replaced with "***" where applicable.
https://github.com/restic/restic/issues/2241
https://github.com/restic/restic/pull/2658