New React Backend Repository
Find a file
Alexandre Brandizzi 46eed22707 fix(work-orders): accept mobile media whose declared MIME is foreign (SH-381)
Mobile browsers attach an unreliable Content-Type to a picked file: empty or
application/octet-stream when the OS cannot classify it, and sometimes a
foreign-but-plausible type for a supported container (video/3gpp for an .mp4,
video/x-quicktime for a .mov). The media allowlist already resolved empty and
octet-stream types from the extension, but a concrete foreign type was rejected
outright, so a real .MP4/.MOV picked on a phone passed the client dialog and was
refused by the API.

Any declared type that is not itself on the allowlist now falls back to the
extension. The extension pairing and magic-byte signature still decide, so the
accepted set of files is unchanged; an allowlisted declared type stays
authoritative and must still match its own extension.
2026-09-18 16:33:24 -03:00
.ebextensions fix(eb): configure work-order webhook HMAC secret source (#41) 2026-07-30 11:44:43 -03:00
.github fix(cd): honor reusable workflow inputs when resolving deploy target 2026-09-18 11:33:34 -04:00
Api.SeaHavenIndustries Merge remote-tracking branch 'origin/dev' into HEAD 2026-09-17 12:50:09 -04:00
Api.SeaHavenIndustries.Tests Merge branch 'dev' into feat/ab/sh-207-uplift-queue-flags 2026-09-17 13:17:04 -04:00
Data.SeaHavenIndustries Merge branch 'dev' into feat/ab/sh-207-uplift-queue-flags 2026-09-17 13:17:04 -04:00
docs fix(observability): preserve backend release identity (#114) 2026-09-15 16:08:14 -03:00
postman docs: add complete dev Postman API collection (#119) 2026-09-15 16:39:49 -03:00
scripts refactor(cd): ship Elastic Beanstalk versions from GitHub on main 2026-09-17 15:54:31 -04:00
SeaHaven.DataServices Merge branch 'dev' into feat/ab/sh-207-uplift-queue-flags 2026-09-17 13:17:04 -04:00
SeaHaven.Services fix(work-orders): accept mobile media whose declared MIME is foreign (SH-381) 2026-09-18 16:33:24 -03:00
SeaHaven.Services.Tests feat(team-members): add member detail editing (SH-326) 2026-09-16 21:41:55 -03:00
SeaHavenIndustries chore(config): document Phase 7 feature flags in appsettings and .env.example 2026-07-13 13:23:54 -03:00
SeaHavenIndustries.Tests fix(work-orders): accept mobile media whose declared MIME is foreign (SH-381) 2026-09-18 16:33:24 -03:00
terraform fix(cd): honor reusable workflow inputs when resolving deploy target 2026-09-18 11:33:34 -04:00
.env.example feat: add API Sentry tracing (SH-298) (#105) 2026-09-04 14:11:32 -03:00
.gitattributes Initial commit 2024-09-28 14:58:36 -04:00
.gitignore feat(deploy): move dev application CD through Terraform (#102) 2026-09-03 14:12:06 +00:00
AGENTS.md chore(governance): enforce backend architecture and quality gates (#31) 2026-07-24 17:41:10 -03:00
ARCHITECTURE_AND_CODE_QUALITY.md chore(governance): enforce backend architecture and quality gates (#31) 2026-07-24 17:41:10 -03:00
BACKEND_ARCHITECTURE.md refactor: enforce backend boundaries and optimize dispatch (#30) 2026-07-24 17:35:34 -03:00
QUALITY_GATES.md refactor(cd): ship Elastic Beanstalk versions from GitHub on main 2026-09-17 15:54:31 -04:00
REVIEW_AND_PR_FRAMEWORK.md refactor(cd): ship Elastic Beanstalk versions from GitHub on main 2026-09-17 15:54:31 -04:00
SeaHavenIndustries.sln test(work-orders): add Phase 0 domain unit tests 2026-07-02 09:19:28 -03:00
TODO.md chore(docs): remove Phase 7 ops markdown from PR scope 2026-07-13 13:51:34 -03:00