6.0.0-alpha10
5/17/25

[#8140] Xfilter failed when the subject contains quote
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

History
11/25/2010 04:14:05 PM gerard (dot) breiner (at) ias (dot) u-psud (dot) fr Comment #8 Reply to this comment
Ok All is all right with ingo 1.2.6. It use mailbot instead xfilter.

Best regards

Gerard

[Show Quoted Text - 12 lines]
11/23/2010 02:59:58 PM gerard (dot) breiner (at) ias (dot) u-psud (dot) fr Comment #7 Reply to this comment
Looks like the vacation code has been rewritten since the last 
release. Please try a recent snap shot.
This problem has never been resolved.... I am testing ingo 1.2.6... 
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

09/18/2009 02:56:36 PM gerard (dot) breiner (at) ias (dot) u-psud (dot) fr Comment #6 Reply to this comment
I could have test the last cvs version but my platform of test is out 
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 .


09/16/2009 09:17:31 AM Jan Schneider State ⇒ No Feedback
 
09/01/2009 11:08:45 AM Jan Schneider Comment #5 Reply to this comment
Ping?
08/18/2009 05:14:00 PM Jan Schneider Comment #4 Reply to this comment
Looks like the vacation code has been rewritten since the last 
release. Please try a recent snap shot.
08/18/2009 05:11:53 PM Jan Schneider Comment #3
Taken from Horde DevelopersHorde Developers
State ⇒ Feedback
Patch ⇒ No
Reply to this comment
There is no such code in the maildrop driver.
07/28/2009 06:22:29 PM noila (at) ajol (dot) com Comment #2 Reply to this comment
pick up tickets
04/16/2009 10:50:25 PM Jan Schneider Assigned to Horde DevelopersHorde Developers
Patch ⇒ Yes
State ⇒ Assigned
 
04/01/2009 03:02:54 PM gerard (dot) breiner (at) ias (dot) u-psud (dot) fr Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Xfilter failed when the subject contains quote
Due ⇒ 04/01/2009
Queue ⇒ Ingo
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Xfilter failed when a quote is contained in the subject.



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

Saved Queries