From 057a5c65d2bddca479425cc24989fbad53b52b99 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Sun, 22 Nov 2026 15:21:42 +0100 Subject: [PATCH] add changelog --- changelog/unreleased/pull-22216 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 changelog/unreleased/pull-22216 diff --git a/changelog/unreleased/pull-22216 b/changelog/unreleased/pull-22216 new file mode 100644 index 000000000..336d74fe7 --- /dev/null +++ b/changelog/unreleased/pull-22216 @@ -0,0 +1,11 @@ +Bugfix: Quote non-printable characters in text output + +Filenames and other printed text, such as hostnames, tags, and error +messages, could contain newlines or terminal control characters. Restic +printed many of those strings verbatim, which could mangle the status output +or change the terminal state. + +Text output now quotes strings that contain non-printable or invalid UTF-8 +characters. JSON output is unchanged. + +https://github.com/restic/restic/pull/22216