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

Andreas Veithen updated WSCOMMONS-329:
--------------------------------------

    Fix Version/s: Axiom 1.2.8

> org.apache.axiom.attachments.Attachments#getSOAPPartContentID() does not 
> parse content ids correctly.
> -----------------------------------------------------------------------------------------------------
>
>                 Key: WSCOMMONS-329
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-329
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: AXIOM
>            Reporter: Michael Kaye
>             Fix For: Axiom 1.2.8
>
>         Attachments: axiom-cid-patch, axiom-cid-patch
>
>
> When using org.apache.axiom.attachment.Attachments#getSOAPPartContentID(), if 
> the content ID is in the form : "cid-12...@192.168.0.1" then the code that 
> strips "cid:" prefixes also strips the "cid-" prefix.
> Attached is a patch containing a test case (stripped down and details 
> obscured, so apologies if it doesn't precisely parse as a 
> SOAP-with-attachments request) and the required fix (basically, look for all 
> four characters, not just the first three).
> This patch is against the latest axiom I could find (1.2.5).

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

Reply via email to