6.0.0-RC7
6/18/26

[#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 4/1/09 (6287 days ago)
Due
Updated 11/25/10 (5684 days ago)
Assigned 8/18/09 (6148 days ago)
Resolved 9/16/09 (6119 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
54 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]
582 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

362 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 .


319 Jan Schneider State ⇒ No Feedback
 
4511 Jan Schneider Comment #5 Reply to this comment
Ping?
05 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.
535 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.
296 noila (at) ajol (dot) com Comment #2 Reply to this comment
pick up tickets
2510 Jan Schneider Assigned to Horde DevelopersHorde Developers
Patch ⇒ Yes
State ⇒ Assigned
 
543 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 ⇒ 4/1/09
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