mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 14:42:59 +03:00
🐛 Bug Report: HTML email is malformed; images don't load #359
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @EweSparky on GitHub.
Reproduction steps
I logged in to an app on a new device and received an email alerting me about the action.
Expected behavior
The email loads in my email client; enabling image loading allows the images in the email to show.
Actual Behavior
The Pocket ID logo image is broken. Checking the source code shows the following (only the
<body>tag is included):The email client shows:
So, some of the rubbish in the HTML source doesn't show in the email client, but the image reference is broken nonetheless. If I manually go to https://id.example.com/api/application-configuration/logo, it works.
Is this an issue with Pocket ID or the email client?
Thanks.
Version and Environment
0.32.0
Log Output
No response
@EweSparky commented on GitHub:
@stonith404 yeah, I'm using Fastmail. I raised this with them and apparently it's because they proxy all images. Because my Pocket ID instance isn't accessible remotely, the images won't load in the Fastmail web/mobile apps (but do in third party apps, which I didn't think to test).
@stonith404 commented on GitHub:
This is the same issue as #93 you're probably using Fastmail, right? You're email client doesn't parse the email content correctly. The email content is encoded with "Quoted Printable".
The image reference isn't broken, it's just encoded. You can try to paste
into this decoder and you will see that it decodes correctly.
I recommend you to report this issue to your email client.