camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Taariq Levack (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-4007) Attachment Names not Encoded Correctly
Date Sat, 28 May 2011 08:51:47 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Taariq Levack updated CAMEL-4007:
---------------------------------

    Attachment: Camel-4007_Failing_test_with_umlaut_in_file_name_.patch

It could be that Spring or Javamail messes with the filename when there are unicode characters,
surrounding it with quotes.
I copied the passing unit for mail attachments and changed it to include an umlaut and now
the test fails.

Take a look at the output, extra quotes for such a filename...
Expected :image/jpeg; name=logo2ë.jpeg
Actual   :image/jpeg; name="logo2ë.jpeg"

The failing test is attached.

> Attachment Names not Encoded Correctly
> --------------------------------------
>
>                 Key: CAMEL-4007
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4007
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-mail
>    Affects Versions: 2.7.1
>            Reporter: Karthz
>            Priority: Minor
>              Labels: attachments, camel-mail, charset, encoding, unicode
>             Fix For: 2.9.0
>
>         Attachments: Camel-4007_Failing_test_with_umlaut_in_file_name_.patch
>
>
> If attachment file names contain unicode characters, they do not appear correctly encoded
in the message.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message