-
Notifications
You must be signed in to change notification settings - Fork 5
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
Ensure that dot stuffing is done after encoding #22
Ensure that dot stuffing is done after encoding #22
Conversation
…e encoding. Changed `Writer::writeFiltered` to use `stream_filter_prepend`.
There was a problem hiding this 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).
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 😅 |
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"), |
There was a problem hiding this comment.
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. 😄
No description provided.