clone

a self-hosted multitenant nostr relay with sites, file storage, git hosting, and inbox and outbox delivery

fix(blob): return not found for absent authorized downloads

Dami committed ee5b53d
Authenticate blob reads before lookup, return 404 for missing content, and apply access checks to existing blobs. Add a regression for authenticated missing downloads.
commit
ee5b53dfaa40c7343483de0e7e48c97c51ef0856
parent
8e028746d76883d0ed66942e1c609cfc14d3b102
author
Dami <dami.etoile@gmail.com>
2 files changed, +24 -5
Minternal/blob/http.go12+++++++-----
Ainternal/daemon/blob_status_test.go17+++++++++++++++++
M internal/blob/http.go +7 -5
A internal/daemon/blob_status_test.go +17 -0