nextcloud / nextcloud/mail

Contact search with @ is added to recipients, blocking outbound

Open
#10,432 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

3. to review bug
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

Steps to reproduce
  1. Forward an email
  2. Type in a filter for recipient containing an @, e.g. myemail@e
  3. Select an item from the results, e.g. myemail@example.org
  4. Click Send
Expected behavior

When you click send, no contact is added, and the mail is sent

Actual behavior

When you click send, a contact with your search text (here myemail@m) is added as a recipient, blocking the mail outbound.

Mail app version

4.0.6

Nextcloud version

30.0.0

Mailserver or service

any

Operating system

No response

PHP engine version

None

Nextcloud memory caching

No response

Web server

None

Database

None

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

No source files or tests are named. Reproduce the issue in the Mail app using the listed forwarding and recipient-search steps, then trace the contact-search and recipient-selection entry points. Done means selecting a result containing an @ no longer adds the search text as a recipient and the message sends successfully.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.