You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Stefano Bagnara (JIRA)" <ji...@apache.org> on 2008/06/19 19:33:44 UTC

[jira] Created: (GERONIMO-4137) Message missing Content-Transfer-Encoding header is parsed as quoted-printable (sun's parse it as 7bit or 8bit)

Message missing Content-Transfer-Encoding header is parsed as quoted-printable (sun's parse it as 7bit or 8bit)
---------------------------------------------------------------------------------------------------------------

                 Key: GERONIMO-4137
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4137
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: mail
    Affects Versions: 2.1.1
            Reporter: Stefano Bagnara
            Assignee: Rick McGuire


I have a test that sends this message to our mailserver and check the returned content:

String sources = "Content-Type: text/plain;\r\nSubject: test\r\n\r\nBody=32=48\r\n";

sun's returns me this body:
Body=32=48\r\n
geronimo's returns me this body:
Body2H\r\n\r\n\r\n

The 2 trailing crlf are because of GERONIMO-4135, but it seems geronimo treated the missing Content-Transfer-Encoding as a quoted-printable and this way converted my message!

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


[jira] Closed: (GERONIMO-4137) Message missing Content-Transfer-Encoding header is parsed as quoted-printable (sun's parse it as 7bit or 8bit)

Posted by "Rick McGuire (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick McGuire closed GERONIMO-4137.
----------------------------------


> Message missing Content-Transfer-Encoding header is parsed as quoted-printable (sun's parse it as 7bit or 8bit)
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4137
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4137
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: mail
>    Affects Versions: 2.1.1
>            Reporter: Stefano Bagnara
>            Assignee: Rick McGuire
>             Fix For: 2.2
>
>
> I have a test that sends this message to our mailserver and check the returned content:
> String sources = "Content-Type: text/plain;\r\nSubject: test\r\n\r\nBody=32=48\r\n";
> sun's returns me this body:
> Body=32=48\r\n
> geronimo's returns me this body:
> Body2H\r\n\r\n\r\n
> The 2 trailing crlf are because of GERONIMO-4135, but it seems geronimo treated the missing Content-Transfer-Encoding as a quoted-printable and this way converted my message!

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


[jira] Resolved: (GERONIMO-4137) Message missing Content-Transfer-Encoding header is parsed as quoted-printable (sun's parse it as 7bit or 8bit)

Posted by "Rick McGuire (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick McGuire resolved GERONIMO-4137.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2

Committed revision 670703.

This uncovered a couple of problems in the SMTPTransport code. 

> Message missing Content-Transfer-Encoding header is parsed as quoted-printable (sun's parse it as 7bit or 8bit)
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4137
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4137
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: mail
>    Affects Versions: 2.1.1
>            Reporter: Stefano Bagnara
>            Assignee: Rick McGuire
>             Fix For: 2.2
>
>
> I have a test that sends this message to our mailserver and check the returned content:
> String sources = "Content-Type: text/plain;\r\nSubject: test\r\n\r\nBody=32=48\r\n";
> sun's returns me this body:
> Body=32=48\r\n
> geronimo's returns me this body:
> Body2H\r\n\r\n\r\n
> The 2 trailing crlf are because of GERONIMO-4135, but it seems geronimo treated the missing Content-Transfer-Encoding as a quoted-printable and this way converted my message!

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


[jira] Commented: (GERONIMO-4137) Message missing Content-Transfer-Encoding header is parsed as quoted-printable (sun's parse it as 7bit or 8bit)

Posted by "Rick McGuire (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606769#action_12606769 ] 

Rick McGuire commented on GERONIMO-4137:
----------------------------------------

Can you point me at the test case in question?  I'd like to see if I can break this down into a simple test...or at least get some idea on where I should start looking for this problem.  

Does this case use SMTP to send the message to the server?  Any chance you could run this with mail.debug turned on and attach the output?  If you could generate the same debug output with the Sun version, that would give me even more information to work with. 

> Message missing Content-Transfer-Encoding header is parsed as quoted-printable (sun's parse it as 7bit or 8bit)
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4137
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4137
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: mail
>    Affects Versions: 2.1.1
>            Reporter: Stefano Bagnara
>            Assignee: Rick McGuire
>
> I have a test that sends this message to our mailserver and check the returned content:
> String sources = "Content-Type: text/plain;\r\nSubject: test\r\n\r\nBody=32=48\r\n";
> sun's returns me this body:
> Body=32=48\r\n
> geronimo's returns me this body:
> Body2H\r\n\r\n\r\n
> The 2 trailing crlf are because of GERONIMO-4135, but it seems geronimo treated the missing Content-Transfer-Encoding as a quoted-printable and this way converted my message!

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


[jira] Commented: (GERONIMO-4137) Message missing Content-Transfer-Encoding header is parsed as quoted-printable (sun's parse it as 7bit or 8bit)

Posted by "Stefano Bagnara (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607573#action_12607573 ] 

Stefano Bagnara commented on GERONIMO-4137:
-------------------------------------------

I confirm that JAMES Server tests currently pass! Great, Thank you!

> Message missing Content-Transfer-Encoding header is parsed as quoted-printable (sun's parse it as 7bit or 8bit)
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4137
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4137
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: mail
>    Affects Versions: 2.1.1
>            Reporter: Stefano Bagnara
>            Assignee: Rick McGuire
>             Fix For: 2.2
>
>
> I have a test that sends this message to our mailserver and check the returned content:
> String sources = "Content-Type: text/plain;\r\nSubject: test\r\n\r\nBody=32=48\r\n";
> sun's returns me this body:
> Body=32=48\r\n
> geronimo's returns me this body:
> Body2H\r\n\r\n\r\n
> The 2 trailing crlf are because of GERONIMO-4135, but it seems geronimo treated the missing Content-Transfer-Encoding as a quoted-printable and this way converted my message!

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