You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Jasha Joachimsthal (JIRA)" <ji...@apache.org> on 2008/08/09 11:56:45 UTC

[jira] Updated: (COCOON-2213) Change check on mime-type to enable custom encoding of the body

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

Jasha Joachimsthal updated COCOON-2213:
---------------------------------------

    Attachment: SendMailTransformer-plaintext.patch

Seems like one code changes breaks setting a charset on plain/text mails. I couldn't find your change in one of the patches for this issue or COCOON-1622. Created a patch to revert this. 

> Change check on mime-type to enable custom encoding of the body
> ---------------------------------------------------------------
>
>                 Key: COCOON-2213
>                 URL: https://issues.apache.org/jira/browse/COCOON-2213
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: Blocks: Mail
>    Affects Versions: 2.1.11
>            Reporter: Jasha Joachimsthal
>            Assignee: Alfred Nathaniel
>            Priority: Minor
>             Fix For: 2.1.12-dev (Current SVN)
>
>         Attachments: SendMailTransformer-plaintext.patch, SendMailTransformer_mime-type.patch
>
>
> Since the patch in COCOON-1622 was applied, a check is done on the mime-type for the output format. It checks if the value is equal to either text/plain or text/html. It may be necessary to explicitly set a charset in the mime-type. This means the check for the mime type should not equals but startsWith. 
> COCOON-1622 seems to be only applied in the 2.1 branch, not in 2.2.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.