Blob and blame breadcrumbs link to 404s #103

closed cmc opened this on 2026-09-03 05:13 UTC · bug web

Discussion

cmc 2026-09-03 05:13 UTC

internal/httpd/web.go:562 builds crumbs with kind blob and :867 with blame, so every parent-directory crumb on a file page links to /blob/<ref>/<dir>. Confirmed: /krz/gitbay/blob/main/internal is 404 while /tree/main/internal is 200.

Remedy: pass tree for directory crumbs in both handlers; only the leaf is a blob.

closed by commit c1ecc59d1b by cmc: web: directory crumbs on blob and blame pages link to the tree

2026-09-03 15:06 UTC