Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Use RFC compliant EOL to allow new lines in message body #45

Merged
merged 1 commit into from
Apr 11, 2016

Conversation

mleko
Copy link
Contributor

@mleko mleko commented Dec 2, 2015

@@ -688,7 +688,7 @@ public function testRestoreFromSerializedString()
$this->message->addFrom('matthew@example.com', "Matthew Weier O'Phinney");
$this->message->addCc('zf-contributors@example.com', 'ZF Contributors List');
$this->message->setSubject('This is a subject');
$this->message->setBody('foo');
$this->message->setBody("foo\n\ntest");
Copy link
Member

Choose a reason for hiding this comment

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

Changing existing tests can lead to cases where we change existing behavior. As such, I'm going to separate this into its own test when I merge, to verify (a) the old behavior, and (b) the fix this patch presents.

@weierophinney weierophinney added this to the 2.6.2 milestone Apr 11, 2016
@weierophinney weierophinney self-assigned this Apr 11, 2016
@weierophinney weierophinney merged commit 1d55f37 into zendframework:master Apr 11, 2016
weierophinney added a commit that referenced this pull request Apr 11, 2016
Use RFC compliant EOL to allow new lines in message body
weierophinney added a commit that referenced this pull request Apr 11, 2016
- and restored behavior of previous test.
weierophinney added a commit that referenced this pull request Apr 11, 2016
weierophinney added a commit that referenced this pull request Apr 11, 2016
weierophinney added a commit that referenced this pull request Apr 11, 2016
@mleko mleko deleted the fix/header-eol branch April 19, 2016 08:11
glensc pushed a commit to eventum/zend-mail that referenced this pull request Jan 18, 2017
- and restored behavior of previous test.
glensc added a commit to eventum/zend-mail that referenced this pull request Jan 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants