summaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/arc.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-29 11:58:02 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-29 11:58:02 +0100
commit5b73f19bc26253b7c80a783ee100a96a644610df (patch)
tree3c6ca0cada51c4d76e88cd8e79bf73d3c1d826fc /src/plugins/lua/arc.lua
parentb1ba09596bfe46eca62ce28059c9f47233b8347c (diff)
downloadrspamd-5b73f19bc26253b7c80a783ee100a96a644610df.tar.gz
rspamd-5b73f19bc26253b7c80a783ee100a96a644610df.zip
[Minor] Insert ARC headers to the top
Issue: #2113 Closes: #2113
Diffstat (limited to 'src/plugins/lua/arc.lua')
-rw-r--r--src/plugins/lua/arc.lua9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/plugins/lua/arc.lua b/src/plugins/lua/arc.lua
index 0feae3219..b240b3b3c 100644
--- a/src/plugins/lua/arc.lua
+++ b/src/plugins/lua/arc.lua
@@ -418,11 +418,10 @@ local function arc_sign_seal(task, params, header)
task:set_milter_reply({
add_headers = {
- ['ARC-Authentication-Results'] = cur_auth_results,
- ['ARC-Message-Signature'] = header,
- ['ARC-Seal'] = lua_util.fold_header(task,
- 'ARC-Seal',
- cur_arc_seal),
+ ['ARC-Authentication-Results'] = {order = 0, value = cur_auth_results},
+ ['ARC-Message-Signature'] = {order = 0, value = header},
+ ['ARC-Seal'] = {order = 0, value = lua_util.fold_header(task,
+ 'ARC-Seal', cur_arc_seal) }
}
})
task:insert_result(settings.sign_symbol, 1.0, string.format('i=%d', cur_idx))
9 Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
summaryrefslogtreecommitdiffstats
path: root/lib/private/Repair/RepairDavShares.php
blob: 9c0bce66ae870b09516623eae2664061f6701fa2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138