-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ui/termstatus: Quote funny filenames
- Loading branch information
Showing
4 changed files
with
68 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Bugfix: Exotic filenames no longer break restic backup's status output | ||
|
||
Restic backup shows the names of files that it is working on. In previous | ||
versions of restic, those names were printed without first sanitizing them, | ||
so that filenames containing newlines or terminal control characters could | ||
mess up restic backup's output or even change the state of a terminal. | ||
|
||
Filenames are now checked and quoted if they contain non-printable or | ||
non-Unicode characters. | ||
|
||
https://github.com/restic/restic/issues/2260 | ||
https://github.com/restic/restic/issues/4191 | ||
https://github.com/restic/restic/pull/4192 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters