filebrowser/storage
Henrique Dias f30fca636c
fix(share): delete exact directory share on trailing-slash delete (GHSA-pp88-jhwj-5qh5)
DeleteWithPathPrefix queried the share index with the raw path, so deleting a
directory through a trailing-slash path (e.g. DELETE /api/resources/a/) only
matched descendants like /a/child and missed the exact /a share, leaving it in
storage. If the same path was later recreated, the stale public share re-exposed
the new content. Normalize the path before the prefix query so the exact share
and its descendants are both removed. Adds a regression test.
2026-06-27 09:08:57 +02:00
..
bolt fix(share): delete exact directory share on trailing-slash delete (GHSA-pp88-jhwj-5qh5) 2026-06-27 09:08:57 +02:00
storage.go feat: allow to password protect shares (#1252) 2021-03-02 12:00:18 +01:00