Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Escape angle brackets in plaintext email bodies #356

Closed
jwadhams opened this issue Oct 18, 2017 · 3 comments
Closed

Escape angle brackets in plaintext email bodies #356

jwadhams opened this issue Oct 18, 2017 · 3 comments

Comments

@jwadhams
Copy link

I'm using MailCatcher in a project where one of our major integrations sends emails with XML bodies (Auto-Lead Data Format)

The "plaintext" tab in the MailCatcher GUI doesn't show any of the XML tags.
The "source" tab shows all my XML tags, but it also includes all the "quoted-printable" formatting, like everyone's favorite =3D on all my XML attributes.

Is there a config setting, or would you be open to a patch, that could get me the mail body with QP decoded, but with angle brackets escaped so the browser doesn't get confused?

Thanks!

@sj26
Copy link
Owner

sj26 commented Oct 25, 2017

Oh dear, that's no good — sorry!

Do you have a full message body which when sent to MailCatcher triggers this behaviour? I need to reproduce it to fix it. :-)

@Adirelle
Copy link

Adirelle commented Feb 5, 2018

Almost the same there: as mailcatcher does not escape HTML tags for plain/text, they are interpreted by the browser instead of being displayed, which prevents from catching some-HTML-sneaked-in-the-text/plain-template bugs.

@sj26
Copy link
Owner

sj26 commented Feb 22, 2021

This is tracked in a new issue #446, please follow there.

@sj26 sj26 closed this as completed Feb 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants