Altinn / Altinn/app-lib-dotnet
MIME-type validering som standard
- Dominant language
- C#
- Stars
- 8
- Forks
- 27
- Avg merge
- 1h 21m
- Merged PRs (30d)
- 7
Description
### Description
[Utvidet filvalidering](https://docs.altinn.studio//nb/app/development/logic/validation/files/) gir mulighet for å konfigurere og aktivere [standard MIME-type validering](https://docs.altinn.studio//nb/app/development/logic/validation/files/#hvordan-konfigurere-og-aktivere-standard-mime-type-validering-i-applikasjonen-din).
Det hadde vært fint om det var en del av standard validering ved opplasting, så man slapp å konfigurere det opp for alle datatyper.
Tror det er oftere man vil/bør ha en slik sjekk fremfor at man ikke vil/trenger ha det.
### Additional Information
_No response_
### Tasks
_No response_
### Acceptance Criterias
_No response_
Contributor guide
Research direction
Start by reading the linked documentation for extended file validation and standard MIME-type validation, then locate the existing implementation in app-lib-dotnet. Determine where upload validation defaults are configured and define the tests needed to show MIME-type validation runs without per-data-type configuration; done means the default behavior is covered and documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100