mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 11:01:25 +01:00
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:
4 files changed
+9
-5
No files matched your search
@@ -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"))
|
||||
}
|
||||
Reference in new issue
Block a user