Import upstream v0.16.22, stripped
Upstream commit: 474dd0229cb20cf513036619781ed97bd8073c3f Enterprise-only files removed or emptied: 63 Enterprise-only snippets removed: 117 in 50 files Dangling module declarations removed: 5 Cargo edits turning enterprise off: 14 Verification: clean Enterprise feature gates left for rebuilt features: 19 in 18 files Produced by tools/fork/strip.py. The full report is in docs/fork/strip-reports/ on main.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
From: John Doe <[email protected]>
|
||||
To: Mary Smith <[email protected]>
|
||||
References: a
|
||||
References: b
|
||||
X-Mailer: Test
|
||||
X-1: 1
|
||||
X-2: 2
|
||||
X-3: 3
|
||||
Subject: Saying Hello
|
||||
|
||||
This is a message just to say hello.
|
||||
@@ -0,0 +1,149 @@
|
||||
[
|
||||
{
|
||||
"modifications": [
|
||||
{
|
||||
"AddHeader": {
|
||||
"name": "X-Hello",
|
||||
"value": "World"
|
||||
}
|
||||
},
|
||||
{
|
||||
"AddHeader": {
|
||||
"name": "X-CR",
|
||||
"value": "LF\r\n"
|
||||
}
|
||||
}
|
||||
],
|
||||
"result": "X-Hello: World\r\nX-CR: LF\r\nFrom: John Doe <[email protected]>\r\nTo: Mary Smith <[email protected]>\r\nReferences: a\r\nReferences: b\r\nX-Mailer: Test\r\nX-1: 1\r\nX-2: 2\r\nX-3: 3\r\nSubject: Saying Hello\r\n\r\nThis is a message just to say hello.\r\n"
|
||||
},
|
||||
{
|
||||
"modifications": [
|
||||
{
|
||||
"ReplaceBody": {
|
||||
"value": [
|
||||
49,
|
||||
50,
|
||||
51
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"result": "From: John Doe <[email protected]>\r\nTo: Mary Smith <[email protected]>\r\nReferences: a\r\nReferences: b\r\nX-Mailer: Test\r\nX-1: 1\r\nX-2: 2\r\nX-3: 3\r\nSubject: Saying Hello\r\n\r\n123"
|
||||
},
|
||||
{
|
||||
"modifications": [
|
||||
{
|
||||
"AddHeader": {
|
||||
"name": "X-Spam",
|
||||
"value": "Yes"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ReplaceBody": {
|
||||
"value": [
|
||||
49,
|
||||
50,
|
||||
51
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"ReplaceBody": {
|
||||
"value": [
|
||||
52,
|
||||
53,
|
||||
54
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"result": "X-Spam: Yes\r\nFrom: John Doe <[email protected]>\r\nTo: Mary Smith <[email protected]>\r\nReferences: a\r\nReferences: b\r\nX-Mailer: Test\r\nX-1: 1\r\nX-2: 2\r\nX-3: 3\r\nSubject: Saying Hello\r\n\r\n123456"
|
||||
},
|
||||
{
|
||||
"modifications": [
|
||||
{
|
||||
"ChangeHeader": {
|
||||
"index": 1,
|
||||
"name": "References",
|
||||
"value": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChangeHeader": {
|
||||
"index": 1,
|
||||
"name": "References",
|
||||
"value": "z"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ChangeHeader": {
|
||||
"index": 1,
|
||||
"name": "Subject",
|
||||
"value": "[SPAM] Saying Hello"
|
||||
}
|
||||
}
|
||||
],
|
||||
"result": "From: John Doe <[email protected]>\r\nTo: Mary Smith <[email protected]>\r\nReferences: z\r\nX-Mailer: Test\r\nX-1: 1\r\nX-2: 2\r\nX-3: 3\r\nSubject: [SPAM] Saying Hello\r\n\r\nThis is a message just to say hello.\r\n"
|
||||
},
|
||||
{
|
||||
"modifications": [
|
||||
{
|
||||
"ChangeHeader": {
|
||||
"index": 1,
|
||||
"name": "X-Some-Header",
|
||||
"value": "Some Value"
|
||||
}
|
||||
},
|
||||
{
|
||||
"InsertHeader": {
|
||||
"index": 2,
|
||||
"name": "References",
|
||||
"value": "<my-new-ref>"
|
||||
}
|
||||
},
|
||||
{
|
||||
"InsertHeader": {
|
||||
"index": 10,
|
||||
"name": "X-3",
|
||||
"value": "z"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ReplaceBody": {
|
||||
"value": [
|
||||
52,
|
||||
53,
|
||||
54
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"ReplaceBody": {
|
||||
"value": [
|
||||
49,
|
||||
50,
|
||||
51
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"result": "X-Some-Header: Some Value\r\nFrom: John Doe <[email protected]>\r\nTo: Mary Smith <[email protected]>\r\nReferences: a\r\nReferences: <my-new-ref>\r\nReferences: b\r\nX-Mailer: Test\r\nX-1: 1\r\nX-2: 2\r\nX-3: z\r\nX-3: 3\r\nSubject: Saying Hello\r\n\r\n456123"
|
||||
},
|
||||
{
|
||||
"modifications": [
|
||||
{
|
||||
"Quarantine": {
|
||||
"reason": "Virus found!"
|
||||
}
|
||||
},
|
||||
{
|
||||
"InsertHeader": {
|
||||
"index": 1,
|
||||
"name": "References",
|
||||
"value": "<my-new-ref>"
|
||||
}
|
||||
}
|
||||
],
|
||||
"result": "X-Quarantine: Virus found!\r\nFrom: John Doe <[email protected]>\r\nTo: Mary Smith <[email protected]>\r\nReferences: <my-new-ref>\r\nReferences: a\r\nReferences: b\r\nX-Mailer: Test\r\nX-1: 1\r\nX-2: 2\r\nX-3: 3\r\nSubject: Saying Hello\r\n\r\nThis is a message just to say hello.\r\n"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user