Mail app unexpectedly turns file name in email body into URL
Open
Nobody has claimed this yet.
1. to develop
bug
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Steps to reproduce
- send mail with content
/home/user/something/text.txt
/home/user/something/text.js
/home/user/something/text.html
/home/user/something/text.java
- check mail in nextcloud mail app
Expected behavior
see
/home/user/something/text.txt
/home/user/something/text.js
/home/user/something/text.html
/home/user/something/text.java
Actual behavior
see
/home/user/something/text.txt
/home/user/something/text.js
/home/user/something/text.html
/home/user/something/http://text.java/
Mail app version
1.11.7
Mailserver or service
does not matter
Operating system
Ubuntu 20.04
PHP engine version
PHP 7.4
Web server
Nginx
Database
MariaDB
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
Reproduce the issue in the Nextcloud Mail app using the four sample paths from the report, then trace the message rendering and URL auto-linking behavior. Done means paths ending in .java remain plain text while genuine URLs are still recognized correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100