fix: sanitize server text in pull request messages, auth status and notification watch

Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
bircni committed 2026-10-18 17:19:10 +02:00
1 parent 04ad230d59
commit 3d10badb8b
4 files changed
+9 -5

No files matched your search

+4
View File
@@ -406,3 +406,7 @@ func TestShowing(t *testing.T) {
require.Equal(t, tc.want, showing(tc.shown, tc.page, "open issues"), "%+v", tc.page)
}
}
func TestRefLabelDropsTerminalControls(t *testing.T) {
require.Equal(t, "alice/x#5 (fix ]0;pwnevil)", refLabel("alice/x", 5, "fix \x1b]0;pwn\x07evil"))
}