roundcube / roundcubemail

The Roundcube Webmail suite
https://roundcube.net
GNU General Public License v3.0
5.88k stars 1.64k forks source link

Forward inline: inline attachments are not being forwarded #8650

Open navossoc opened 2 years ago

navossoc commented 2 years ago

Hi, I found a few emails that I can't forward the attachments.

Below is a sample email:

From: someone@example.com
To: buddy@example.com
Subject: test raw
Content-Type: multipart/mixed; boundary="NextPart"

--NextPart
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html><body><br>html message bla bla bla<br>
</body></html>

--NextPart
Content-Type: text/plain; name="file1.txt"
Content-Transfer-Encoding: base64
Content-Disposition: inline

dGVzdCBhdHRhY2htZW50IDE=

--NextPart
Content-Type: text/plain; name=file2.txt
Content-Transfer-Encoding: base64
Content-Disposition: inline

dGVzdCBhdHRhY2htZW50IDI=

--NextPart
Content-Type: application/octet-stream; name=file3.pdf
Content-Transfer-Encoding: base64
Content-Disposition: inline

JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0ZpbHRlci9GbGF0ZURl
Y29kZT4+CnN0cmVhbQp4nD2OywoCMQxF9/mKu3YRk7bptDAIDuh+oOAP+AAXgrOZ37etjmSTe3IS
IljpDYGwwrKxRwrKGcsNlx1e31mt5UFTIYucMFiqcrlif1ZobP0do6g48eIPKE+ydk6aM0roJG/R
egwcNhDr5tChd+z+miTJnWqoT/3oUabOToVmmvEBy5IoCgplbmRzdHJlYW0KZW5kb2JqCgozIDAg
b2JqCjEzNAplbmRvYmoKCjUgMCBvYmoKPDwvTGVuZ3RoIDYgMCBSL0ZpbHRlci9GbGF0ZURlY29k
ZS9MZW5ndGgxIDIzMTY0Pj4Kc3RyZWFtCnic7Xx5fFvVlf+59z0tdrzIu7xFz1G8Kl7i2HEWE8vx
QlI3iRM71A6ksSwrsYptKZYUE9omYStgloZhaSlMMbTsbSPLAZwEGgNlusxQ0mHa0k4Z8muhlJb8
ynQoZVpi/b736nkjgWlnfn/8Pp9fpNx3zz33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U2l6ZSAxNi9Sb290IDE0IDAgUgovSW5mbyAxNSAwIFIKL0lEIFsg
PEY3RDc3QjNEMjJCOUY5MjgyOUQ0OUZGNUQ3OEI4RjI4Pgo8RjdENzdCM0QyMkI5RjkyODI5RDQ5
RkY1RDc4QjhGMjg+IF0KPj4Kc3RhcnR4cmVmCjEyNzg3CiUlRU9GCg==

--NextPart--

The webmail detect all the attachments and show them properly on the message preview.

image

The problem is that it fails when we try to forward -> forward inline them.

image

(forward as attachment works fine)

image

Is that a bug or some kind of configuration?

Thanks.

alecpl commented 2 years ago

The attachments are marked as 'inline' and the message has HTML part, in such cases we ignore them on forward. It looks like a bug though. We at least should not ignore non-image attachments, or take into consideration that it is multipart/mixed message.

The place to fix it will be in rcmail_action_mail_compose::write_compose_attachments().