shoc-backend/SeaHaven.Services
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
..
Configuration feat(permissions): protect configured account owner (SH-329) 2026-09-16 21:40:22 -03:00
Constants feat(team-members): support pending member creation (SH-325) 2026-09-16 21:41:55 -03:00
DependencyInjection feat(permissions): protect configured account owner (SH-329) 2026-09-16 21:40:22 -03:00
DTOs Merge remote-tracking branch 'origin/dev' into HEAD 2026-09-17 12:50:09 -04:00
Exceptions feat(services): add global services registry 2026-09-16 17:07:59 -03:00
Helpers fix(work-orders): accept mobile media whose declared MIME is foreign (SH-381) 2026-09-18 16:33:24 -03:00
Implementation Merge remote-tracking branch 'origin/dev' into feat/ab/sh-326-team-member 2026-09-17 14:06:12 -03:00
Interfaces Merge remote-tracking branch 'origin/dev' into HEAD 2026-09-17 12:50:09 -04:00
Validation feat(locations): manage ordered site contacts 2026-09-15 19:03:54 -03:00
SeaHaven.Services.csproj refactor: enforce backend boundaries and optimize dispatch (#30) 2026-07-24 17:35:34 -03:00