Summary | Xfilter failed when the subject contains quote |
Queue | Ingo |
Queue Version | 1.2.1 |
Type | Bug |
State | No Feedback |
Priority | 2. Medium |
Owners | |
Requester | gerard.breiner (at) ias (dot) u-psud (dot) fr |
Created | 04/01/2009 (5890 days ago) |
Due | |
Updated | 11/25/2010 (5287 days ago) |
Assigned | 08/18/2009 (5751 days ago) |
Resolved | 09/16/2009 (5722 days ago) |
Milestone | |
Patch | No |
Best regards
Gerard
release. Please try a recent snap shot.
There is nothing about this bug in the file CHANGES... And this bug
is still here and prevent ingo to work.
I wonder how could I use it unless to solve this issue.
Best regard
Gerard
of order.
On the other hands, it seems that ingo/lib/Scripts/maildrop.php has
largely been rethougth. I tried to compare side by side the two files
(old maildrop.php and new maildrop.php) and it takes too longer time .
release. Please try a recent snap shot.
Taken from
State ⇒ Feedback
Patch ⇒ No
Patch ⇒ Yes
State ⇒ Assigned
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Xfilter failed when the subject contains quote
Due ⇒ 04/01/2009
Queue ⇒ Ingo
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
I solved this by modifying ingo/lib/scripts/maildrop.php
It works by added a second quote.. I have commented the bad line
"xfilter ...." and added the lines as follow.
[CODE]
$subject = MIME::encode($params['action-value']['subject'],NLS::getCharset());
$quote = "'";
$replace = "''";
$subject = str_replace($quote,$replace,$subject);
//$xfilter = ' xfilter "reformail -r -t -I \'From: ' .
$from . '\' -I \'Subject: ' .
MIME::encode($params['action-value']['subject'], NLS::getCharset()) .
"'";
$xfilter = ' xfilter "reformail -r -t -I \'From: ' . $from . '\' -I
\'Subject: ' .$subject. "'";
[/CODE]
Best regards
Gerard Breiner