Created attachment 1212566 [details] reproduction script Description of problem: rgw crashes on POST object with null conditions. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Run the attached script Actual results: rgw crashes Expected results: rgw returns errors Additional info:
Created attachment 1212574 [details] updated test script need to modify access and secret keys, make sure specified bucket exists
Tested on 10.2.3-12. The script fails with error without crashing. {'url': u'http://rgw1:80/bucket1', 'fields': {'policy': u'eyJjb25kaXRpb25zIjogW3t9LCB7ImJ1Y2tldCI6ICJidWNrNSJ9LCB7ImtleSI6ICJ0ZXN0c2lnbiJ9XSwgImV4cGlyYXRpb24iOiAiMjAxNi0xMS0wM1QwODowNzowNFoifQ==', 'AWSAccessKeyId': u'CLN3TEBE8V13342ZC9JW', 'key': 'testsign', 'signature': u'UjDkV0UjeO/Ur8rp2hythRG1XRA='}} <?xml version="1.0" encoding="UTF-8"?><Error><Code>InvalidArgument</Code><Message>Failed to parse policy</Message><BucketName>bucket1</BucketName><RequestId>tx0000000000000000a5d6d-00581ae218-d383-us-east</RequestId><HostId>d383-us-east-us</HostId></Error>
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2016-2816.html