Skip to content

more reliable search results #456

Description

@gene-miller

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions