commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Olofsson (JIRA)" <j...@apache.org>
Subject [jira] Updated: (VFS-261) WebDAV upload corrupts binary files
Date Thu, 28 May 2009 13:05:45 GMT

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

Simon Olofsson updated VFS-261:
-------------------------------

    Attachment: VFS-261-fix_webdav_upload.patch

Patch that fixes this issue, by using a ByteArrayRequestEntity not a StringRequestEntity.

> WebDAV upload corrupts binary files
> -----------------------------------
>
>                 Key: VFS-261
>                 URL: https://issues.apache.org/jira/browse/VFS-261
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Simon Olofsson
>            Priority: Minor
>         Attachments: VFS-261-fix_webdav_upload.patch
>
>
> When uploading a binary file to a WebDAV folder it gets corrupted. This happens because
the binary file gets encoded with the default charset (see String.getBytes()).

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


Mime
View raw message