Skip to content

fix(upload): enforce strict mp4 validation#53

Open
aiirvizionz wants to merge 1 commit into
moshcoder:masterfrom
aiirvizionz:clientkit/strict-mp4-upload-type
Open

fix(upload): enforce strict mp4 validation#53
aiirvizionz wants to merge 1 commit into
moshcoder:masterfrom
aiirvizionz:clientkit/strict-mp4-upload-type

Conversation

@aiirvizionz

Copy link
Copy Markdown
Contributor

Summary

  • route tenant video uploads through the existing strict upload type helper
  • keep the tenant upload endpoint MP4-only instead of accepting every application/octet-stream payload
  • add regression coverage for substring MIME matches such as text/video/mp4

Tests

  • node --test tests*.mjs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant