Content not displayed of some html emails (Probably blocked?)
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Steps to reproduce
- Get an email with HTML content and open it.
- Header is shown, content is blocked and not displayed.
Expected behavior
Content of email should be displayed.
Actual behavior
Content is not shown.
Mail app version
3.6.0
Mailserver or service
Dovecot
Operating system
Linux
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database
MySQL
Additional info
In the network console of Firefox the request for the content of the email https://cloud.domain.tld/apps/mail/api/messages/1879/html is blocked with the error NS_DOMAIN_DOM_COEP_FAILED. If I open the requested URL directly in Firefox, then the content of the message is displayed. Funny though, when the preview content (text only?) is shown before actually opening the mail.
Possibly related to the errors in those bug reports: https://github.com/nextcloud/mail/issues/7550, https://github.com/nextcloud/mail/issues/7550
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 Firefox network-console failure for /apps/mail/api/messages/1879/html and compare it with opening that URL directly; use the text-only preview as a working contrast. Done means the HTML content renders when opening affected emails without the reported COEP failure in the described environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- frontend, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100