Truncated filenames of attachments

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Truncated filenames of attachments

Jorge
Hi All,

I use Roundcube version 1.3.6 and I have problems with the attached files
whose name is quite long (more than 90 characters).

When downloading them the name is truncated to the first 91 characters and
not including the extension, which is usually difficult to open correctly.

For example:

A23456789B23456789C23456789D23456789E23456789F23456789G23456789H23456789I23456789J23456789K23456789L23456789M23456789N23456789O23456789P23456789Q23456789.txt

when downloading it RoundCube shows it to me as:
A23456789B23456789C23456789D23456789E23456789F23456789G23456789H23456789I23456789J23456789K

truncated to 91 characters and not including the extension.

Has anyone had such problems?

Is there any way to fix it?

Jorge Colaccini


---
El software de antivirus Avast ha analizado este correo electrónico en busca de virus.
https://www.avast.com/antivirus
_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Truncated filenames of attachments

@lbutlr
On 21 Aug 2019, at 09:12, Jorge <[hidden email]> wrote:
> Has anyone had such problems?
>

Ni one has ever sent me a filename that long, no.

> Is there any way to fix it?

might be related to this:

<https://github.com/roundcube/roundcubemail/issues/6048>



--
There is a road, no simple highway, between the dawn and the dark of
night
_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Truncated filenames of attachments

Jorge
Thanks you.

Reading your related link I saw another related:

https://github.com/roundcube/roundcubemail/commit/0c56b5d4c01a7912108b98694c14c74142206256

but the suggested changes are applied to the 1.3.6 version that I use.

I will check near this piece of code.

Best regards,

Jorge


----- Original Message -----
From: "@lbutlr" <[hidden email]>
To: "Roundcube Users mailing list" <[hidden email]>
Sent: Thursday, August 22, 2019 2:24 AM
Subject: Re: [RCU] Truncated filenames of attachments


On 21 Aug 2019, at 09:12, Jorge <[hidden email]> wrote:
> Has anyone had such problems?
>

Ni one has ever sent me a filename that long, no.

> Is there any way to fix it?

might be related to this:

<https://github.com/roundcube/roundcubemail/issues/6048>



--
There is a road, no simple highway, between the dawn and the dark of
night
_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users 


---
El software de antivirus Avast ha analizado este correo electrónico en busca de virus.
https://www.avast.com/antivirus
_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Truncated filenames of attachments

A.L.E.C
On 8/22/19 1:20 PM, Jorge Listas wrote:
> Thanks you.
>
> Reading your related link I saw another related:
>
> https://github.com/roundcube/roundcubemail/commit/0c56b5d4c01a7912108b98694c14c74142206256
>
> but the suggested changes are applied to the 1.3.6 version that I use.
>
> I will check near this piece of code.

Are you using imap4d?

I would start with making sure the filename is encoded properly in email header. (Do other
mail clients display the full name?). Then using imap_debug I'd check if the filename in
BODYSTRUCTURE response from the server is correct.

If first answer is Yes, and the second is No. Then this would help
https://github.com/roundcube/roundcubemail/pull/6783

--
Aleksander 'A.L.E.C' Machniak
Kolab Groupware Developer         [http://kolab.org]
Roundcube Webmail Developer   [http://roundcube.net]
----------------------------------------------------
PGP: 19359DC1 # Blog: https://kolabian.wordpress.com
_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users