nextcloud / nextcloud/mail

Matrix User IDs are sent incorrectly

Open
#11,505 1 comment 1 reaction 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. Write an eMail with a Matrix user ID, e.g. @user:matrix.server.org.
  2. Send eMail.
  3. The server / host part of the user ID is interpreted and written as a webserver: @user:https://matrix.server.org. (With https:// and the creation of a link.)
  4. The changed user ID replaces the original user ID in the E-Mail which is sent to the receiver.
Expected behavior

I'd expect that Matrix user IDs are sent unchanged.

Actual behavior

See "Steps to reproduce".

Mail app version

5.2.0

Nextcloud version

31.0.7

Mailserver or service

independent of mail server used

Operating system

Debian 12.11

PHP engine version

PHP 8.3

Nextcloud memory caching

Redis

Web server

Apache (supported)

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

Start by reproducing the issue in the Nextcloud Mail app with a message containing @user:matrix.server.org, then trace where the Matrix ID becomes a linked https:// address. Done means the outgoing email preserves the original Matrix user ID unchanged; no file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.