cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashwin (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CXF-4482) AttachmentSerializer puts an extra new line
Date Tue, 03 Feb 2015 17:52:36 GMT

    [ https://issues.apache.org/jira/browse/CXF-4482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14303670#comment-14303670
] 

Ashwin edited comment on CXF-4482 at 2/3/15 5:52 PM:
-----------------------------------------------------

Hi Freeman,
The AttachmentSerializer.java in 2.4.3-fuse-04-16 still shows "\n" line #125. We are using
cxf-bundle 2.4.3-fuse-04-16 which does not have this fix. Can we have a fix to remove this
LF and request a new version of cxf-bundle for 2.4.3?

Thanks,
Ashwin Sharma 


was (Author: ashwin74268):
Hi Freeman,
The AttachmentSerializer.java in 2.4.fixes branch still shows "\n" line #125. We are using
cxf-bundle 2.4.3-fuse-04-16 which does not have this fix. Can we have a fix to remove this
LF and request a new version of cxf-bundle for 2.4.3?

Thanks,
Ashwin Sharma 

> AttachmentSerializer puts an extra new line
> -------------------------------------------
>
>                 Key: CXF-4482
>                 URL: https://issues.apache.org/jira/browse/CXF-4482
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.6.1
>            Reporter: Kirill Kadyrko
>            Assignee: Freeman Fang
>             Fix For: 2.5.7, 2.6.4, 2.7.1
>
>         Attachments: crlf.jpg
>
>
> _AttachmentSerializer_ always puts an extra new line before writing the root attachment
boundary and headers. Because of that the HTTP request which contains only attachments has
two line breaks after request headers. That is not understood by some service providers and
they do not process the request.
> For example:
> {code}
> ...
> Pragma: no-cache
> Connection: keep-alive
> Content-Length: 92010
> <new line>
> <another new line>
> --uuid:467a6f94-55c4-43fe-9e4a-09d63b0bc589
> Content-Type: application/xml
> ...
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message