Save to files / Unter Dateien speichern not working with äöü in filename or jpeg
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Steps to reproduce
- Recieve an e-mail with an attachment and it's filename contains ö (ü + ä not tested)
- Click ... on the attachment and "save to file"... it doesn't work. But you recieve a done message.
- Look into the folder.... file wasn't saved.
--> Similar failure is with an "*.jpeg"-file.
On Step 3 you'll see an corrupt *.eml
I renamed the file to *.jpg and it worked.
Expected behavior
save attachment correctly ;)
Actual behavior
Doesn't save the attachment or creats an wrong file instead
Mail app version
4.2.3
Nextcloud version
30.0.6
Mailserver or service
different.
Operating system
Linux - Docker
PHP engine version
PHP 8.2
Nextcloud memory caching
No response
Web server
None
Database
None
Additional info
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with an attachment whose filename contains ä, ö, or ü, and with a JPEG attachment, using Mail 4.2.3 on Nextcloud 30.0.6. Check whether the saved output is missing or incorrectly written as an .eml file. Done means both filenames and JPEG attachments are saved correctly and the success message matches the result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100