6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/29/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#8140] Xfilter failed when the subject contains quote
*
Your Email Address
*
Spam protection
Enter the letters below:
. __.. .._.\ / | (__ |_/ | >< |___.__)| \_|_/ \
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
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers