the safe xml calls, cause http 500 errors in the API, it should cause 400 (invalid request) errors instead
Bug #1133111 reported by
Matthew Sherborne
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Matthew Sherborne |
Bug Description
When we parse incoming XML safely, if there was an error raised it would be an expat.Expat() error, which would bubble up to the api and turn into a HTTP 500 (Internal Error)
If the incoming XML in wrong, it should return a 400 (Invalid Request) error.
Changed in nova: | |
assignee: | nobody → Matthew Sherborne (msherborne+openstack) |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in nova: | |
milestone: | none → grizzly-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-rc1 → 2013.1 |
To post a comment you must log in.
Is there a test case that demonstrates this failure today? possibly something we can running in tempest?