Skip to content

Ensure that dot stuffing is done after encoding#22

Merged
vortrixs merged 2 commits intomasterfrom
21-quoted-printable-and-dot-stuffing-filters-applied-in-wrong-order
Oct 3, 2024
Merged

Ensure that dot stuffing is done after encoding#22
vortrixs merged 2 commits intomasterfrom
21-quoted-printable-and-dot-stuffing-filters-applied-in-wrong-order

Conversation

@vortrixs
Copy link
Contributor

@vortrixs vortrixs commented Oct 2, 2024

No description provided.

…e encoding. Changed `Writer::writeFiltered` to use `stream_filter_prepend`.
Copy link
Contributor

@rhl-jfm rhl-jfm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

I assume that the test fails without the code change (it is a proper regression test).

@vortrixs
Copy link
Contributor Author

vortrixs commented Oct 3, 2024

Looks good!

I assume that the test fails without the code change (it is a proper regression test).

Yes, the test fails without the change. It does feel weird having tests without assertions but I just mirrored the other test in the file 😅

@rhl-jfm
Copy link
Contributor

rhl-jfm commented Oct 3, 2024

You could maybe add a comment to that effect. Something like:

    $service->send($message); // Throws if we fail to speak valid SMTP

);

$message = new Message(
new Address("blip@test.org", "Rasmus åh Schultz"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I was about so say something about being personal, but I see this is copy/pasted from mindplay's own test examples back in the day, so this is a self-mention, so all good. 😄

@vortrixs vortrixs merged commit f8cd3b5 into master Oct 3, 2024
@vortrixs vortrixs changed the title Ensure that dot stuffing is done before encoding Ensure that dot stuffing is done after encoding Oct 22, 2024
@vortrixs vortrixs deleted the 21-quoted-printable-and-dot-stuffing-filters-applied-in-wrong-order branch January 9, 2025 11:45
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

Successfully merging this pull request may close these issues.

quoted-printable and dot-stuffing filters applied in wrong order!

3 participants