new user approval e-mail is b0rked #1379

Open
opened 2026-04-08 08:21:35 +02:00 by sy · 1 comment

The approval e-mail has a multipart/alternative MIME structure, that contains a text/plain and a text/html part. However both parts have HTML injected into:

  • text/plain part contains <!DOCTYPE html><html> ... </html> between "Your account has been approved" line and ".: Thanks for flying Disroot \o/" line.
  • text/html part contains the same inside the outer HTML structure.

The text part should contain only the text representation. The HTML part should only inject the relevant tags, not the whole HTML document.

The approval e-mail has a `multipart/alternative` MIME structure, that contains a `text/plain` and a `text/html` part. However both parts have HTML injected into: - `text/plain` part contains `<!DOCTYPE html><html> ... </html>` between "Your account has been approved" line and ".: Thanks for flying Disroot \o/" line. - `text/html` part contains the same inside the outer HTML structure. The text part should contain only the text representation. The HTML part should only inject the relevant tags, not the whole HTML document.
Owner

oh. thanks. I was made aware of this but didn't somehow get to fix it.

oh. thanks. I was made aware of this but didn't somehow get to fix it.
muppeth self-assigned this 2026-04-08 15:50:01 +02:00
Sign in to join this conversation.
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Disroot/Disroot-Project#1379
No description provided.