| 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 (dot) breiner (at) ias (dot) u-psud (dot) fr |
| Created | 04/01/09 (351 days ago) |
| Due | |
| Updated | 09/18/09 (181 days ago) |
| Assigned | 08/18/09 (212 days ago) |
| Resolved | 09/16/09 (183 days ago) |
| Attachments | |
| Milestone | |
| Patch | No |
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.
Patch ⇒
State ⇒ Feedback
Taken from
State ⇒ Assigned
Assigned to
State ⇒ Unconfirmed
Patch ⇒
Milestone ⇒
Queue ⇒ Ingo
Due ⇒ 04/01/09
Summary ⇒ Xfilter failed when the subject contains quote
Type ⇒ Bug
Priority ⇒ 2. Medium
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