Files
radicle-explorer/crates
Jörg Thalheim cc67fd894a httpd: Return 404 for unknown archive refs
/raw/<rid>/archive/<ref> passed the git2 error from
resolve_reference_from_short_name straight through, so a typo in the
branch name or a commit SHA in place of a ref yielded a 500. Map
ErrorCode::NotFound to 404 like we already do for the object lookup.

Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
2026-10-22 09:53:03 +02:00
..