You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Karthz (JIRA)" <ji...@apache.org> on 2011/05/23 22:45:47 UTC
[jira] [Created] (CAMEL-4007) Attachment Names not Encoded
Correctly
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
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
[jira] [Updated] (CAMEL-4007) Attachment Names not Encoded
Correctly
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp updated CAMEL-4007:
-------------------------------
Fix Version/s: 2.7.3
> 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
> Assignee: Claus Ibsen
> Priority: Minor
> Labels: attachments, camel-mail, charset, encoding, unicode
> Fix For: 2.7.3, 2.8.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
[jira] [Updated] (CAMEL-4007) Attachment Names not Encoded
Correctly
Posted by "Taariq Levack (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (CAMEL-4007) Attachment Names not Encoded
Correctly
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-4007:
-------------------------------
Fix Version/s: 2.9.0
A patch is welcome.
> 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
>
>
> 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
[jira] [Commented] (CAMEL-4007) Attachment Names not Encoded
Correctly
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13040232#comment-13040232 ]
Claus Ibsen commented on CAMEL-4007:
------------------------------------
Can you post an example of a filename having unicode characters?
> 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
>
>
> 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
[jira] [Commented] (CAMEL-4007) Attachment Names not Encoded
Correctly
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13047959#comment-13047959 ]
Claus Ibsen commented on CAMEL-4007:
------------------------------------
http://svn.apache.org/viewvc?rev=1134714&view=rev
> 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
> Assignee: Claus Ibsen
> Priority: Minor
> Labels: attachments, camel-mail, charset, encoding, unicode
> Fix For: 2.8.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
[jira] [Resolved] (CAMEL-4007) Attachment Names not Encoded
Correctly
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-4007.
--------------------------------
Resolution: Not A Problem
Fix Version/s: (was: 2.9.0)
2.8.0
Assignee: Claus Ibsen
It works fine in camel. You have to use \u00DC when writing tests with non ascii inputs. \u00DC is unicode for the Umlaut char.
> 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
> Assignee: Claus Ibsen
> Priority: Minor
> Labels: attachments, camel-mail, charset, encoding, unicode
> Fix For: 2.8.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