Altinn / Altinn/app-lib-dotnet
File upload xml mimetype not validated correctly
- Dominant language
- C#
- Stars
- 8
- Forks
- 27
- Avg merge
- 1h 21m
- Merged PRs (30d)
- 7
Description
### Description of the bug
When a user is trying to upload a file with mimetype text/xml it validates as not correct
this error is also seen
### Steps To Reproduce
1. https://pat.apps.tt02.altinn.no/pat/correspondence
2. Go to "Attachments"
3. Choose "sequence list"
3 upload xml file
### Additional Information
_No response_
Contributor guide
Research direction
Start with the Attachments flow at the reported correspondence URL and reproduce the upload using the "sequence list" option and a text/xml file. Trace where the MIME type is validated and identify the existing expected MIME types. Done means a valid XML upload is accepted without the reported validation error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100