POST body not json causing 500's

Bug #1441879 reported by John Perkins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Unassigned

Bug Description

The body of a POST request may be something other than JSON. When this occurs, a 500 is returned.

Tags: api
Changed in neutron:
assignee: nobody → John Perkins (john-d-perkins)
Revision history for this message
Eugene Nikanorov (enikanorov) wrote :

Should be "400 Bad request" imo.

tags: added: api
Changed in neutron:
importance: Undecided → Low
status: New → Confirmed
Changed in neutron:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/171836
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=ff9c92c712be07f9fa39832debc2af7ee239515b
Submitter: Jenkins
Branch: master

commit ff9c92c712be07f9fa39832debc2af7ee239515b
Author: John Perkins <email address hidden>
Date: Wed Apr 8 12:24:03 2015 -0500

    Non-json body on POST 500's

    If the body of a POST request is not json, we get crashes.
    This can happen when middleware sends along unexpected data.

    Closes-bug #1441879

    Change-Id: Ifac59476e4785b86bca6e2a54759f4271629a193

Changed in neutron:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (neutron-pecan)

Fix proposed to branch: neutron-pecan
Review: https://review.openstack.org/185072

Thierry Carrez (ttx)
Changed in neutron:
milestone: none → liberty-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: liberty-1 → 7.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.