Summary | Vacation doesn't work with german character in reason field |
Queue | Ingo |
Queue Version | 3.2.3 |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | jan (at) horde (dot) org |
Requester | samuel.wolf (at) wolf-maschinenbau (dot) de |
Created | 12/24/2014 (3949 days ago) |
Due | |
Updated | 12/29/2014 (3944 days ago) |
Assigned | |
Resolved | 12/29/2014 (3944 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
commit 8a05f074575043ec1cbbf8e684e293c2a8a868ab
Author: Jan Schneider <jan@horde.org>
Date: Mon Dec 29 14:55:14 2014 +0100
[jan] Fix Horde_Mime::quotedPrintableEncode() (
Bug #13769).framework/Mime/lib/Horde/Mime.php | 2 +-
framework/Mime/package.xml | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
http://github.com/horde/horde/commit/8a05f074575043ec1cbbf8e684e293c2a8a868ab
I see in the Horde_Mime 2.5.0 change log "[mms] Deprecated
Horde_Mime::quotedPrintableEncode() and move to
Horde_Mime_QuotedPrintable."
this is another Horde Mime class (Horde_Mime::encode).
I'm not sure the problem is in Ingo or Horde Mime, maybe a Horde
developer can have a eye on it.
I see in the Horde_Mime 2.5.0 change log "[mms] Deprecated
Horde_Mime::quotedPrintableEncode() and move to
Horde_Mime_QuotedPrintable."
../ingo/lib/Script/Procmail/Recipe.php
199 if (Horde_Mime::is8bit($reason)) {
200 $this->_action[] = ' -i"Subject: ' .
Horde_Mime::encode($params['action-value']['subject'] . ' (Re:
$SUBJECT)') . '" \\';
201 $this->_action[] = ' -i"Content-Transfer-Encoding:
quoted-printable" \\';
202 $this->_action[] = ' -i"Content-Type: text/plain;
charset=UTF-8" ; \\';
Horde::debug($reason);
203 $reason = Horde_Mime::quotedPrintableEncode($reason, "\n");
Horde::debug($reason);
204 } else {
205 $this->_action[] = ' -i"Subject: ' .
Horde_Mime::encode($params['action-value']['subject'] . ' (Re:
$SUBJECT)') . '" ; \\';
2014-12-24T17:46:10+00:00 DEBUG: Variable information:
string(13) "Test äüöß"
Backtrace:
1. Ingo_Basic_Base->__construct() /var/www/https/horde/ingo/basic.php:30
2. Ingo_Basic_Vacation->_init()
/var/www/https/horde/ingo/lib/Basic/Base.php:48
3. Ingo_Script_Util::update()
/var/www/https/horde/ingo/lib/Basic/Vacation.php:82
4. Ingo_Script_Base->generate()
/var/www/https/horde/ingo/lib/Script/Util.php:81
5. Ingo_Script_Procmail->_generate()
/var/www/https/horde/ingo/lib/Script/Base.php:249
6. Ingo_Script_Procmail->generateVacation()
/var/www/https/horde/ingo/lib/Script/Procmail.php:166
7. Ingo_Script_Procmail_Recipe->__construct()
/var/www/https/horde/ingo/lib/Script/Procmail.php:296
8. Horde::debug() /var/www/https/horde/ingo/lib/Script/Procmail/Recipe.php:203
2014-12-24T17:46:10+00:00 DEBUG: Variable information:
string(0) ""
Backtrace:
1. Ingo_Basic_Base->__construct() /var/www/https/horde/ingo/basic.php:30
2. Ingo_Basic_Vacation->_init()
/var/www/https/horde/ingo/lib/Basic/Base.php:48
3. Ingo_Script_Util::update()
/var/www/https/horde/ingo/lib/Basic/Vacation.php:82
4. Ingo_Script_Base->generate()
/var/www/https/horde/ingo/lib/Script/Util.php:81
5. Ingo_Script_Procmail->_generate()
/var/www/https/horde/ingo/lib/Script/Base.php:249
6. Ingo_Script_Procmail->generateVacation()
/var/www/https/horde/ingo/lib/Script/Procmail.php:166
7. Ingo_Script_Procmail_Recipe->__construct()
/var/www/https/horde/ingo/lib/Script/Procmail.php:296
8. Horde::debug() /var/www/https/horde/ingo/lib/Script/Procmail/Recipe.php:205
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Ingo
Summary ⇒ Vacation doesn't work with german character in reason field
Type ⇒ Bug
State ⇒ Unconfirmed
Ingo write
only echo -e "" in the .procmailrc
[...]
-i"Subject: Abwesenheitsnachricht / Out of office (Re: $SUBJECT)" \
-i"Content-Transfer-Encoding: quoted-printable" \
-i"Content-Type: text/plain; charset=UTF-8" ; \
echo -e "" \
[...]
That worked previously without a problem, downgrade ingo doesn't fix
it. There must be a change somewhere else in the horde code?
Unfortunately I don't know when this broke.