schleuder issueshttps://0xacab.org/schleuder/schleuder/-/issues2024-03-15T08:02:56Zhttps://0xacab.org/schleuder/schleuder/-/issues/535keywords in the middle of messages get stripped2024-03-15T08:02:56Zdkgkeywords in the middle of messages get strippedSometimes, a user of a schleuder list might send instructions about how to control a schleuder list in a message that went to the list itself.
If the instructions include keywords, those keywords are stripped before re-sending, even if ...Sometimes, a user of a schleuder list might send instructions about how to control a schleuder list in a message that went to the list itself.
If the instructions include keywords, those keywords are stripped before re-sending, even if those keywords are not at the top of the message.
Using schleuder 4.0.3-7 (as packaged in debian stable, version 12.5), i sent the following message to a schleuder list:
```
Please ignore this message, i am trying to debug a possible schleuder
bug.
Here is a schleuder keyword command in the middle of the message text:
X-LIST-NAME: foo@example.org
X-ATTACH-LIST-KEY:
-----BEGIN PGP PUBLIC KEY BLOCK-----
nothing to see here.
And here is some followup text.
--dkg
```
The signed, encrypted version of the message that came back from the list had the expected spliced metadata part:
```
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: [REDACTED SCHLEUDER LIST ADDRESS]
Cc:
Date: Mon, 11 Mar 2024 15:08:50 -0400
Sig: Good signature from BB7E9101495E6BF7 Daniel Kahn Gillmor
Enc: Encrypted
------------------------------------------------------------------------------
```
and the rest of the body said:
```
Please ignore this message, i am trying to debug a possible schleuder
bug.
Here is a schleuder keyword command in the middle of the message text:
nothing to see here.
And here is some followup text.
--dkg
```
It seems to me that keywords that are not at the beginning of the message should be ignored, not stripped.5.0.0pazpaz