This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

knotserver: strip @ from ownerHandle in reject message

Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>

author
Anirudh Oppiliappan
date (Aug 20, 2025, 8:45 PM +0300) commit 418ce504 parent 6f03cdc5 change-id lvuyrztm
+1
+1
knotserver/git.go
··· 129 129 // If the appview gave us the repository owner's handle we can attempt to 130 130 // construct the correct ssh url. 131 131 ownerHandle := r.Header.Get("x-tangled-repo-owner-handle") 132 + ownerHandle = strings.TrimPrefix(ownerHandle, "@") 132 133 if ownerHandle != "" && !strings.ContainsAny(ownerHandle, ":") { 133 134 hostname := d.c.Server.Hostname 134 135 if strings.Contains(hostname, ":") {