1
0
mirror of https://github.com/restic/restic.git synced 2024-06-27 07:55:08 +02:00
restic/changelog/unreleased/issue-2260

14 lines
593 B
Plaintext
Raw Normal View History

Bugfix: Exotic filenames no longer break restic backup's status output
2023-04-23 12:40:29 +02:00
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
2023-04-23 12:40:29 +02:00
mangle the status 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