Brixel / Brixel/HaSpMan

Download size not same as upload at attachments?

Open
#171 0 comments 0 reactions 0 assignees View on GitHub
bug🐛
Dominant language
C#
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When i download a specific pdf (see attachment below) when i download it, it dubbels in size and is giving me a corrupt error in my pdf reader. (if pdf after download is opened trough chrome it magically isn't corrupt?)

**To Reproduce**
Steps to reproduce the behavior:
1. Go to a place to add a attachment
2. add an attachment for example the one down below
3. Save
4. Go to download it again and see

[brochure.pdf](https://github.com/Brixel/HaSpMan/files/11670862/brochure.pdf)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the download with the linked brochure.pdf and compare the uploaded and downloaded bytes, file size, and PDF validity. Then locate the attachment upload and download entry points and trace where the response is built. Done means downloaded PDFs retain the original bytes and open correctly in a PDF reader.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.