]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix crash when missing content-type in POST object
authorYehuda Sadeh <yehuda@inktank.com>
Tue, 29 Jan 2013 01:13:23 +0000 (17:13 -0800)
committerYehuda Sadeh <yehuda@inktank.com>
Tue, 29 Jan 2013 21:17:49 +0000 (13:17 -0800)
commita8964107ddf02ac4a6707a997e1b634c1084a3b9
tree253100479567cca5ecaa987eb1dd91a8958d7b54
parent11e1f3acf0953e9ac38322c0423144eaabd7bb61
rgw: fix crash when missing content-type in POST object

Fixes: #3941
This fixes a crash when handling S3 POST request and content type
is not provided.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
(cherry picked from commit f41010c44b3a4489525d25cd35084a168dc5f537)
src/rgw/rgw_rest_s3.cc