Affects Version/s: 0.23.1, 2.0.0-alpha
Fix Version/s: 0.23.1
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.
|Field||Original Value||New Value|
|Attachment||HDFS-2705.patch [ 12507948 ]|
|Status||Open [ 1 ]||Patch Available [ 10002 ]|
|Status||Patch Available [ 10002 ]||Resolved [ 5 ]|
|Hadoop Flags||Reviewed [ 10343 ]|
|Resolution||Fixed [ 1 ]|
|Fix Version/s||0.24.0 [ 12317653 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Affects Version/s||2.0.0-alpha [ 12320353 ]|
|Affects Version/s||0.24.0 [ 12317653 ]|