hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Abdelnur (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-2705) HttpFS server should check that upload requests have correct content-type
Date Wed, 21 Dec 2011 05:57:30 GMT

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

Alejandro Abdelnur updated HDFS-2705:

      Resolution: Fixed
    Hadoop Flags: Reviewed
          Status: Resolved  (was: Patch Available)

thanks Eli. 

Committed to trunk & branch-0.23
> HttpFS server should check that upload requests have correct content-type
> -------------------------------------------------------------------------
>                 Key: HDFS-2705
>                 URL: https://issues.apache.org/jira/browse/HDFS-2705
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.24.0, 0.23.1
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>             Fix For: 0.24.0, 0.23.1
>         Attachments: HDFS-2705.patch, HDFS-2705.patch, HDFS-2705.patch
> The append/create requests should require 'application/octet-stream' as content-type
when uploading data. This is to prevent the default content-type form-encoded (used as default
by some HTTP libraries) to be used or text based content-types to be used.
> If the form-encoded content type is used, then Jersey tries to process the upload stream
as parameters
> If a test base content-type is used, HTTP proxies/gateways could do attempt some transcoding
on the stream thus corrupting the data.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message