Content-ID must not contain unquoted colon characters
-----------------------------------------------------

                 Key: AXIS2-4037
                 URL: https://issues.apache.org/jira/browse/AXIS2-4037
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
            Reporter: Valery Ushakov
            Priority: Minor


Asix2 generated MTOM messages use content ids of the form

  cid:1.urn:uuid:[EMAIL PROTECTED]

when that content id is manifested in a MIME multipart message the resulting 
headers is

  Content-ID <1.urn:uuid:[EMAIL PROTECTED]>

but that header violates RFC syntax for Content-ID.

RFC2045 (MIME, Part 1) defines Content-ID as

  "Content-ID" ":" msg-id

RFC2822 defines msg-id as

  msg-id          =       [CFWS] "<" id-left "@" id-right ">" [CFWS]

where no unquoted variant of if-left can NOT contain colon character (see 
RFC2822 for details and exact productions).

This is an interoperability problem for systems that try to parse Axis2 
generated messages using MIME parsers that are not happy about those illegal 
colons.

Note that I'm not using axis2 myself, so unfortunately I cannot provide any 
further details, but it looks like axis2 has always been generating such 
content-ids.  I'm filing this to find out if this is indeed a bug in axis2 or 
if I'm misreading relevant standards and I need to fix the MIME parser I use.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to