Issues

ZF-3865: Zend_Mail::_encodeHeader() encode incorrect

Issue Type: Bug Created: 2008-08-06T01:26:57.000+0000 Last Updated: 2008-10-06T08:43:47.000+0000 Status: Resolved Fix version(s): Reporter: Andrey Shertsinger (karakum) Assignee: Nico Edtinger (nico) Tags: - Zend_Mail

Related issues: - ZF-1688

Attachments:

Description

correct subject header :

Subject: =?utf-8?Q?=D0=A0=D0=B5=D0=B3=D0=B8=D1=81=D1=82=D1=80=D0=B0=D1=86=D0=B8=D1=8F=20=D0=BD?= =?utf-8?Q?=D0=B0=20=D0=BF=D0=BE=D1=80=D1=82=D0=B0=D0=BB=D0=B5?=

but Zend_Mail::_encodeHeader() do this (by one line);

Subject: =?utf-8?Q?=D0=A0=D0=B5=D0=B3=D0=B8=D1=81=D1=82=D1=80=D0=B0=D1=86=D0=B8=D1=8F =D0=BD= =D0=B0 =D0=BF=D0=BE=D1=80=D1=82=D0=B0=D0=BB=D0=B5?=

to resolve issue (Zend/Mail.php) in _encodeHeader() just add line: $quotedValue = join("?=\n =?" . $this->_charset . '?Q?', split("=\n",$quotedValue));

after : $quotedValue = str_replace(array('?', ' '), array('=3F', '=20'), $quotedValue);

Comments

No comments to display

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts