bad request if content-type header contains charset=UTF-8
Bug #766282 reported by
Victor Galkin
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
openstack-gd |
Bug Description
bad request if content-type header contains charset=UTF-8
http://
Content-Type: application/json; charset=UTF-8
raise error 400 bad request
Content-Type: application/json
operates normally
Related branches
lp:~reldan/nova/lp766282
- Devin Carlen (community): Approve
- Brian Waldon (community): Approve
- Jay Pipes (community): Approve
-
Diff: 43 lines (+16/-6)2 files modifiednova/tests/api/test_wsgi.py (+6/-0)
nova/wsgi.py (+10/-6)
Changed in nova: | |
assignee: | nobody → openstack-gd (openstack-gd) |
Changed in nova: | |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → diablo-1 |
Changed in nova: | |
milestone: | diablo-1 → 2011.3 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Looks like nova.wsgi. Request. get_content_ type just isn't smart enough to handle charsets