diff options
| author | David Bremner <david@tethera.net> | 2023-01-05 20:02:06 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2023-04-02 19:24:43 -0300 |
| commit | a554690d6af0ac8cb55166a20efd0f449abde389 (patch) | |
| tree | b852e9fe4b19ad6dbf3d49b731d82253151b8c5a /test/corpora | |
| parent | 3f5809bf28becbddfed9ff33d6f1242346904c23 (diff) | |
lib: index attachments with mime types matching index.as_text
Instead of skipping indexing all attachments, we check of a (user
configured) mime type that is indexable as text.
Diffstat (limited to 'test/corpora')
| -rw-r--r-- | test/corpora/indexing/fake-pdf:2,S | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/corpora/indexing/fake-pdf:2,S b/test/corpora/indexing/fake-pdf:2,S new file mode 100644 index 00000000..60a7a47f --- /dev/null +++ b/test/corpora/indexing/fake-pdf:2,S @@ -0,0 +1,11 @@ +From: David Bremner <david@tethera.net> +To: example@example.com +Subject: attachment content type +Date: Thu, 05 Jan 2023 08:02:36 -0400 +Message-ID: <871qo9p4tf.fsf@tethera.net> +MIME-Version: 1.0 +Content-Type: application/pdf +Content-Disposition: attachment; filename=fake.pdf +Content-Transfer-Encoding: base64 + +dGhpcyBpcyBub3QgcmVhbGx5IFBERgo=
\ No newline at end of file |
