Actions
Bug #6088
closedrgw: When uploading via POST specifying text instead of file formdata input field, a subsequent GET fails with 500 error
% Done:
0%
Source:
Support
Tags:
Backport:
dumpling, cuttlefish, bobtail
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Specific text from customer:
When uploading via POST if user specifies the "file" formdata input field as "text" instead of "file," RGW responds with a 200-range code, but upon a subsequent GET request to list objects in the bucket, RGW responds with a 500. After about 24 hours the problem goes away and the bucket can be listed again with no sign of the attempted erroneous upload.
Provided steps to reproduce:
- generate the signed S3 policy document and signature using the script in internal support ticket #466.
- Install Google Chrome Extension POSTMAN
- list an existing bucket with GET
- upload to the bucket using "file" as a text input field (replace your bucket name, "AWSAccessKeyId" value with your bucket's S3 Access Key, "policy" and "signature" values with the values generated in step #1)
- attempt to list the bucket again (repeat step #3), observe HTTP 500 error
Actions