hadoop-hdfs-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/HDFS-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13172934#comment-13172934

Alejandro Abdelnur commented on HDFS-2705:

test failures are not related.
4 findbugs are addressed by HDFS-2646, one not related.
the javadoc warnings are not related (the 2 related have been addressed by HDFS-2658)
> 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