[
https://issues.apache.org/jira/browse/JCRVLT-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16065991#comment-16065991
]
Tobias Bocanegra edited comment on JCRVLT-186 at 6/28/17 7:01 AM:
------------------------------------------------------------------
[~reschke] I think the problem is here:
https://github.com/apache/jackrabbit/blob/b50c7542391e604847e9695b54cb6b5dd76f24f1/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2davex/Utils.java#L95-L95
probably need to use no charset for binary properties, in order to avoid
conversion.
was (Author: tripod):
[~reschke] I think the problem is here:
https://github.com/apache/jackrabbit/blob/b50c7542391e604847e9695b54cb6b5dd76f24f1/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2davex/Utils.java#L95-L95
probably need to use {{application/octet-stream}} for binary properties.
> 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
>
> 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)