nextcloud / nextcloud/mail

Mail app unexpectedly turns file name in email body into URL

Open
#6,237 8 comments 0 reactions 0 assignees View on GitHub

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
  1. send mail with content
/home/user/something/text.txt
/home/user/something/text.js
/home/user/something/text.html
/home/user/something/text.java
  1. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.