Strip S/MIME signatures

I have enabled allow all attachments for group messages to make sure I can receive all attachments sent from external users. That’s working fine :slight_smile:

There’s one exception I’d like to see: I think Discourse should always silent strip the smime.p7s attachment if it exists – that is an S/MIME siganture, not a real attachment. Otherwise, many posts look like this:

6 Likes

Ah yes excellent idea, we should blacklist that particular name @zogstrip

1 Like

There you go, no more s/mime signatures :e-mail:

https://github.com/discourse/discourse/commit/376881845cc8845f3ecb1f82464783f8bb09a6f6

5 Likes

This topic was automatically closed after 12 hours. New replies are no longer allowed.