all repos — elgit @ f6777b266e76778fc625a06bb4cfc00a738e934d

fork of legit: web frontend for git, written in go

fix: incorrect linking from blob pages
Alan Pearce alan@alanpearce.eu
Tue, 01 Apr 2025 20:34:25 +0200
commit

f6777b266e76778fc625a06bb4cfc00a738e934d

parent

5467d52160ee898bcb58d7af16936bc318df0c85

1 files changed, 0 insertions(+), 1 deletions(-)

jump to
M routes/routes.goroutes/routes.go
@@ -168,7 +168,6 @@ } 	treePath := params["rest"]
 	ref := params["ref"]
 
-	name = httptreemux.Clean(name)
 	path, err := d.GetCleanPath(name)
 	if err != nil {
 		log.Printf("getcleanpath error: %v", err)