Opened 5 years ago

Closed 5 years ago

#1485239 closed Bugs (fixed)

Corrupt Attachments in Spanish

Reported by: alejo_sierra Owned by:
Priority: 7 Milestone: 0.2-beta
Component: Core functionality Version: 0.2-alpha
Severity: major Keywords: currupt attachment spanish
Cc:

Description

Hi, i have installed RoundCube on my hosting(Bluehost), but i have a problem. Roundcube is configured to set the lenguage to Spanish.
When A message with an attachment is read, and the attachment downloaded, it is corrupted.
I made a test and in a client i changed the lenguage to English (UK and US) and it works fine. I download the mail via POP and IMAP from Outlook and I have no problem.
Bluehost also have a RoundCube installed and works fine, even in spanish, but i have no permission to see their configuration.

Attachments (3)

TEST(English).doc (19.0 KB) - added by alejo_sierra 5 years ago.
TEST(Spanish).doc (19.0 KB) - added by alejo_sierra 5 years ago.
File Downloaded from Client in Spanish
TEST.doc (19.0 KB) - added by alejo_sierra 5 years ago.
Original

Download all attachments as: .zip

Change History (7)

Changed 5 years ago by alejo_sierra

Changed 5 years ago by alejo_sierra

File Downloaded from Client in Spanish

Changed 5 years ago by alejo_sierra

Original

comment:1 Changed 5 years ago by johnnywalls

Reproduced same bug here... Also using 0.2-alpha on Ubuntu Server 8.04

comment:2 Changed 5 years ago by alec

  • Milestone changed from later to 0.2-beta

comment:3 Changed 5 years ago by david.blanco

We have tried the 0.2-alpha version and have reproduced this issue and founded the solution.

The reason: There is a blank line at the end of the file "program/localization/es_ES/labels.inc" that is causing RoundCube to add that blank line before the base64 encoded attachment. When you download that attachment the file is corrupted because of the blank line at the beginning of the file. If you remove it you could see the image, doc, or whatever.

The solution: Remove the blank line at the end of the Spanish (Spain) labels file "program/localization/es_ES/labels.inc".

We have not tried other localizations but there is no reason to think that they will be affected.

We leave this annotation here but also sent an email to the translation authors as seen in the source code.

Greetings from Vigo (Spain)

comment:4 Changed 5 years ago by alec

  • Resolution set to fixed
  • Status changed from new to closed

It has been fixed some time ago. Please verify with svn-trunk version. Closing now.

Note: See TracTickets for help on using tickets.