[ https://issues.apache.org/jira/browse/JCRVLT-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16066053#comment-16066053 ]
Tobias Bocanegra edited comment on JCRVLT-186 at 6/28/17 8:31 AM: ------------------------------------------------------------------ test with vault 3.1.16 shows that it also uses the charset=utf-8, but there the data is correctly transmitted. {noformat} 2017-06-28T15:01:31.114+09:00 --RP9y08K6bT0S0pMmTAVYIn4ipfwJesKHFL8-uYKq Content-Disposition: form-data; name="/content/dam/dst/test.png/jcr:content/renditions/cq5dam.web.1280.1280.png/jcr:content/jcr:data"; filename="/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 {noformat} was (Author: tripod): test with vault 3.1.16 shows that it also uses the charset=utf-8, but there the data is correctly transmitted. {noformat} 2017-06-28T15:01:31.114+09:00 --RP9y08K6bT0S0pMmTAVYIn4ipfwJesKHFL8-uYKq Content-Disposition: form-data; name="/content/dam/dst/test.png/jcr:content/renditions/cq5dam.web.1280.1280.png/jcr:content/jcr:data"; filename="/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 {noformat} {noformat} 00000410 6f 6e 74 65 6e 74 2f 6a 63 72 3a 64 61 74 61 22 ontent/jcr:data" 00000420 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 Content-Type: 00000430 6a 63 72 2d 76 61 6c 75 65 2f 62 69 6e 61 72 79 jcr-value/binary 00000440 3b 20 63 68 61 72 73 65 74 3d 55 54 46 2d 38 0d ; charset=UTF-8 00000450 0a 43 6f 6e 74 65 6e 74 2d 54 72 61 6e 73 66 65 Content-Transfe 00000460 72 2d 45 6e 63 6f 64 69 6e 67 3a 20 62 69 6e 61 r-Encoding: bina 00000470 72 79 0d 0a 0d 0a 89 50 4e 47 0d 0a 1a 0a 00 00 ry PNG 00000480 00 0d 49 48 44 52 00 00 05 00 00 00 03 2c 08 06 IHDR , 00000490 00 00 00 0b 5a 0f 80 00 00 80 00 49 44 41 54 78 Z IDATx 000004a0 da ec bd 07 70 14 d7 da ae fb d7 ad 3a 69 9f b3 p :i {noformat} > 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)