6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/27/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#8677] Explicit :text in sieve body rule
*
Your Email Address
*
Spam protection
Enter the letters below:
__ . ,. . __ .__. / ` \./ |\/|/ `| | \__. | | |\__.|__|
Comment
> Should ingo/lib/Script/sieve.php put :text explicitly into body > checks? RFC 5173 says that body transform "can" be applied (odd > word-- not may or should) and that :text is the default (or that is, > it "can" be the default?). Cyrus sieve does default to :text. > Still, adding :text would clarify to humans reading the script that > only text parts will be searched. One-line diff below. > > Forget this if there are sieve implementations that don't do body > transform at all that would break on being told :text. > > > --- 2125,2131 ---- > function toCode() > { > $code = 'body ' . > + ':text ' . > ':comparator "' . $this->_vars['comparator'] . '" ' . > $this->_vars['match-type'] . ' > >
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