🩹(backend) ignore non-recording uploads in storage webhook handler

With the introduction of background file uploads, a misconfigured
MinIO webhook could trigger the storage hook endpoint for unrelated
files.

While the dev setup now filters events via the MinIO lifecycle
configuration, add a safeguard at the application level.

Enforce a stricter filepath regex when parsing storage hook events
and ignore files outside the recording output directory.

Return a clean 200 response to acknowledge the webhook while
avoiding unnecessary processing.
This commit is contained in:
lebaudantoine
2026-03-12 14:57:41 +01:00
parent f8b0746e73
commit cb4ed3c9d7
5 changed files with 42 additions and 9 deletions
+1
View File
@@ -34,6 +34,7 @@ and this project adheres to
- 🐛(frontend) fix hand icon and queue position alignment and position #1119
- 🩹(backend) add page_size to pagination for room endpoints #1131
- 🐛(backend) refactor lobby throttling to use participant id #1129
- 🩹(backend) ignore non-recording uploads in storage webhook handler #1142
## [1.10.0] - 2026-03-05