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

more reliable search results #456

Open
gene-miller opened this issue Dec 19, 2023 · 0 comments
Open

more reliable search results #456

gene-miller opened this issue Dec 19, 2023 · 0 comments

Comments

@gene-miller
Copy link

When using the mailhog search via the API and the UI, the search is performed on the 'Source' data.

We have found this produces unreliable results when using Content-Transfer-Encoding: quoted-printable

For example:

Plain text:
"
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut tortor
tellus, venenatis eu molestie a, gravida a quam. Maecenas laoreet
ullamcorper enim. Duis et massa sed lorem tincidunt congue.
"

Source:
"
Content-Type: text/plain; charset=utf-8

Content-Transfer-Encoding: quoted-printable

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut tortor
tellus=
, venenatis eu molestie a, gravida a quam. Maecenas laoreet
ullamcorper e=
nim. Duis et massa sed lorem tincidunt congue.
--9CC0Alsk
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
"

A search for the string "Ut tortor tellus, venenatis eu molestie" will return no results due to the "=" characters inserted by quoted-printable.

It would be great to have the option to search the "Plain text" especially via the API.

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

1 participant