geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Bagnara (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-4134) boundary attribute for multipart/related content does not have surrounding quotes
Date Fri, 20 Jun 2008 18:07:44 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-4134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606846#action_12606846
] 

Stefano Bagnara commented on GERONIMO-4134:
-------------------------------------------

No, this still does not work.

the test is this one:
http://svn.apache.org/repos/asf/james/server/trunk/phoenix-deployment/src/test/org/apache/james/transport/mailets/AddFooterTest.java

testAddFooterMultipartRelated fails because of missing quotes (it also fails because the mail
is reformatted to a different width, but this is a test issue).

testAddFooterMultipartAlternative also fails, but this is again a test issue:
it expects:
----
Subject: test
Content-Type: multipart/alternative;
    boundary="--==--"
MIME-Version: 1.0
----
and receive
---
Subject: test
Content-Type: multipart/alternative; boundary="--==--"
MIME-Version: 1.0
-----
so, sun's was using a newline while geronimo put it inline.. 

> boundary attribute for multipart/related content does not have surrounding quotes
> ---------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4134
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4134
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: mail
>    Affects Versions: 2.1.1
>            Reporter: Stefano Bagnara
>            Assignee: Rick McGuire
>
> Reading from stream a multipart/related mail, adding some text as footer, outputting
it to a stream result in this header:
> Content-Type: multipart/related; 
> 	boundary=------------050206010102010306090507
> instead of what we expected (and what sun's implementation give us):
> Content-Type: multipart/related;
>   boundary="------------050206010102010306090507"
> the original message has this one:
> Content-Type: multipart/related;
>   boundary="------------050206010102010306090507"
> I don't know if this is bad or ok, but I've seen geronimo to use quotes for a different
test where I'm using multipart/alternative instead of multipart/related...
> For sure it is different from what we get from sun implementation.

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


Mime
View raw message