fix: drop only control character references from Markdown, keep escaped quotes in env files, reject prefill-less inline comment edits, relabel the token's account

Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
bircni committed 2026-10-18 20:56:34 +02:00
1 parent dd2ec74d96
commit 33f3ff10b6
7 files changed
+65 -14

No files matched your search

+1 -1
View File
@@ -192,7 +192,7 @@ func (a *application) connect(ctx context.Context, req targetRequest) (target, e
if t.explicitUser() && !services.MatchAccount(t.User, actual) {
return t, clierr.Wrap(clierr.Authentication, errEnvironmentAccount)
}
if t.User == "" {
if !t.explicitUser() {
t.UserSource = "GITEA_TOKEN authenticated account"
}
t.User = actual