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
@@ -167,7 +167,7 @@ func (a *application) created(cmd *cobra.Command, item any, url string) error {
|
||||
|
||||
// refLabel names an issue or pull request in feedback: "alice/x#5 (Fix login)".
|
||||
func refLabel(repo string, number int64, title string) string {
|
||||
return fmt.Sprintf("%s#%d (%s)", repo, number, title)
|
||||
return fmt.Sprintf("%s#%d (%s)", repo, number, terminal.SafeLine(title))
|
||||
}
|
||||
|
||||
// abortBatch stops a batch instead of recording an item failure.
|
||||
|
||||
Reference in new issue
Block a user