summaryrefslogtreecommitdiffstats
path: root/pigeonhole/tests/extensions/editheader/errors/field-value.sieve
blob: c9f4eabd44a419032bb90f29956b44fe539b5edf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require "editheader";
require "encoded-character";

# Ok
addheader "X-field" "Frop";

# Ok
addheader "X-field" "Frop
Frml";

# Invalid 'BELL'; but not an error
addheader "X-field" "Yeah${hex:07}!";

# Invalid 'NUL'
addheader "X-field" "Woah${hex:00}!";