mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-12 17:09:39 -06:00
The collection update endpoints (post_collections_update and post_collections_admin) call .unwrap() on cipher.organization_uuid in four places. If a user-owned cipher without an organization somehow reaches these code paths, the server would panic. Extract the organization UUID early with a descriptive error message instead of relying on .unwrap(), preventing potential panics and providing a clear API error response. Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| core | ||
| admin.rs | ||
| icons.rs | ||
| identity.rs | ||
| mod.rs | ||
| notifications.rs | ||
| push.rs | ||
| web.rs | ||