[ https://issues.apache.org/jira/browse/JCRVLT-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16066502#comment-16066502 ]
Julian Reschke commented on JCRVLT-186: --------------------------------------- I believe it's caused by the lack of the "filename" parameter in Conternt-Disposition, leading to string handling in the multipart handler class... (that would be in conflict with the finding about transfer-encoding chunked, though). > rcp fails to copy binaries correctly > ------------------------------------ > > Key: JCRVLT-186 > URL: https://issues.apache.org/jira/browse/JCRVLT-186 > Project: Jackrabbit FileVault > Issue Type: Bug > Components: RCP > Affects Versions: 3.1.38 > Reporter: Tobias Bocanegra > Priority: Critical > Attachments: 3.1.41_with_chunked.png, 3.1.41_without_chunked.png > > > coping a binary, eg. an image results in data corruption, probably dues to > wrong charset setting in the webdav POST: > {noformat}2017-06-28T15:01:31.114+09:00 > --PuVe35GoHu1NaGvsEEeuI3O1LXf5jbJ > Content-Disposition: form-data; > name="/content/dam/dst/test.png/jcr:content/renditions/cq5dam.web.1280.1280.png/jcr:content/jcr:data" > Content-Type: jcr-value/binary; charset=UTF-8 > Content-Transfer-Encoding: binary > ‰PNG > .... > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)