[wp-trac] [WordPress Trac] #28909: Update PHPMailer to 5.2.10

WordPress Trac noreply at wordpress.org
Mon Jul 6 15:31:24 UTC 2015


#28909: Update PHPMailer to 5.2.10
--------------------------------+-----------------------
 Reporter:  MattyRob            |       Owner:  ocean90
     Type:  task (blessed)      |      Status:  assigned
 Priority:  normal              |   Milestone:  4.3
Component:  External Libraries  |     Version:  4.0
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:
--------------------------------+-----------------------
Changes (by ocean90):

 * keywords:  has-patch commit => has-patch


Comment:

 Tested with PHP 5.2 as well and works fine there. But I get some unit test
 failure with [attachment:28909v3.diff].

 {{{
 There were 5 failures:

 1) Tests_Mail::test_wp_mail_custom_boundaries
 Failed asserting that two strings are equal.
 --- Expected
 +++ Actual
 @@ @@
 -'
 -------=_Part_4892_25692638.1192452070893
 -Content-Type: text/plain; charset=ISO-8859-1
 -Content-Transfer-Encoding: 7bit
 -Content-Disposition: inline
 -
 -Here is a message with an attachment of a binary file.
 -
 -------=_Part_4892_25692638.1192452070893
 -Content-Type: image/x-icon; name=favicon.ico
 -Content-Transfer-Encoding: base64
 -Content-Disposition: attachment; filename=favicon.ico
 -
 -AAABAAEAEBAAAAAAAABoBQAAFgAAACgAAAAQAAAAIAAAAAEACAAAAAAAAAAAAAAAAAAAAAAAAAAA
 -AAAAAAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAwMDAAICAgAAAAP8AAP8AAAD//wD/AAAA
 -/wD/AP//AAD///8A//3/AP39/wD6/f8A+P3/AP/8/wD9/P8A+vz/AP/7/wD/+v8A/vr/APz6/wD4
 -+v8A+/n/APP5/wD/+P8A+vj/AO/4/wDm+P8A2fj/AP/3/wD/9v8A9vb/AP/1/wD69f8A9PT/AO30
 -/wD/8/8A//L/APnx/wD28P8A///+APj//gD2//4A9P/+AOP//gD//f4A6f/9AP///AD2//wA8//8
 -APf9/AD///sA/v/7AOD/+wD/+vsA9/X7APr/+gDv/voA///5AP/9+QD/+/k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PcKPM2NfP2sWhcg+BzTE7dLjb
 -mG03YWaV4JYye8MPbsLZlEouKRRCg9SXMoW/U53enGRAFzCRtNO7mTiAyliw30gRTg9VbJCKfYs0
 -j9VmuscfLTFbIy8SOhA0Inq5Y77GNBMYIxQUJzM2Vxx2wEmfyCYWMRldXCg5MU0aicRUms58SUVe
 -RkwjPBRSNIfBMkSgvWkyPxVHFIaMSx1/0S9nkq7WdWo1a43Jt2UqgtJERGJ5m6K8y92znpNWIYS1
 -UQ89Mmg5cXNaX0EkGyyI3KSsp6mvpaqosaatq7axsQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
 -AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
 -------=_Part_4892_25692638.1192452070893--
 -
 -'
 +'=0A------=3D_Part_4892_25692638.1192452070893=0AContent-Type:
 text/plain; c=
 +harset=3DISO-8859-1=0AContent-Transfer-Encoding: 7bit=0AContent-
 Disposition=
 +: inline=0A=0AHere is a message with an attachment of a binary
 file.=0A=0A-=
 +-----=3D_Part_4892_25692638.1192452070893=0AContent-Type: image/x-icon;
 nam=
 +e=3Dfavicon.ico=0AContent-Transfer-Encoding: base64=0AContent-
 Disposition: =
 +attachment;
 filename=3Dfavicon.ico=0A=0AAAABAAEAEBAAAAAAAABoBQAAFgAAACgAAAA=
 +QAAAAIAAAAAEACAAAAAAAAAAAAAAAAAAAAAAAAAAA=0AAAAAAAAAAAAAAACAAACAAAAAgIAAgAA=
 +AAIAAgACAgAAAwMDAAICAgAAAAP8AAP8AAAD//wD/AAAA=0A/wD/AP//AAD///8A//3/AP39/wD=
 +6/f8A+P3/AP/8/wD9/P8A+vz/AP/7/wD/+v8A/vr/APz6/wD4=0A+v8A+/n/APP5/wD/+P8A+vj=
 +/AO/4/wDm+P8A2fj/AP/3/wD/9v8A9vb/AP/1/wD69f8A9PT/AO30=0A/wD/8/8A//L/APnx/wD=
 +28P8A///+APj//gD2//4A9P/+AOP//gD//f4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A=0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
 +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/=0A//8AsbGxsbGxsbGxsbGxsbGxd7IrMg8P=
 +Dw8PDw8PUBQeJXjQYE9PcKPM2NfP2sWhcg+BzTE7dLjb=0AmG03YWaV4JYye8MPbsLZlEouKRRC=
 +g9SXMoW/U53enGRAFzCRtNO7mTiAyliw30gRTg9VbJCKfYs0=0Aj9VmuscfLTFbIy8SOhA0Inq5=
 +Y77GNBMYIxQUJzM2Vxx2wEmfyCYWMRldXCg5MU0aicRUms58SUVe=0ARkwjPBRSNIfBMkSgvWky=
 +PxVHFIaMSx1/0S9nkq7WdWo1a43Jt2UqgtJERGJ5m6K8y92znpNWIYS1=0AUQ89Mmg5cXNaX0Ek=
 +GyyI3KSsp6mvpaqosaatq7axsQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=0AAAAAAAAAAAAA=
 +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=3D=0A------=3D_Part_4892_25692638.1=
 +192452070893--=0A=0A'

 /srv/www/wp-develop/svn/tests/phpunit/tests/mail.php:63

 2) Tests_Mail::test_wp_mail_rfc2822_addresses
 Failed asserting that two strings are equal.
 --- Expected
 +++ Actual
 @@ @@
 -'My RFC822 Test Message
 -'
 +'My RFC822 Test Message'

 /srv/www/wp-develop/svn/tests/phpunit/tests/mail.php:92

 3) Tests_Mail::test_wp_mail_multiple_rfc2822_to_addresses
 Failed asserting that two strings are equal.
 --- Expected
 +++ Actual
 @@ @@
 -'My RFC822 Test Message
 -'
 +'My RFC822 Test Message'

 /srv/www/wp-develop/svn/tests/phpunit/tests/mail.php:111

 4) Tests_Mail::test_wp_mail_multiple_to_addresses
 Failed asserting that two strings are equal.
 --- Expected
 +++ Actual
 @@ @@
 -'My RFC822 Test Message
 -'
 +'My RFC822 Test Message'

 /srv/www/wp-develop/svn/tests/phpunit/tests/mail.php:123

 5) Tests_Mail::test_wp_mail_to_address_no_name
 Failed asserting that two strings are equal.
 --- Expected
 +++ Actual
 @@ @@
 -'My RFC822 Test Message
 -'
 +'My RFC822 Test Message'

 /srv/www/wp-develop/svn/tests/phpunit/tests/mail.php:137

 FAILURES!
 Tests: 3774, Assertions: 14852, Failures: 5, Incomplete: 3, Skipped: 12.
 }}}

 But I don't get these when running `$ phpunit --group mail`. Any ideas
 why?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28909#comment:41>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list