bad request if content-type header contains charset=UTF-8

Bug #766282 reported by Victor Galkin
12
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://dragon004.hw.griddynamics.net:8774/v1.1/servers/199/action

Content-Type: application/json; charset=UTF-8
raise error 400 bad request

Content-Type: application/json
operates normally

Related branches

Victor Galkin (vgalkin)
Changed in nova:
assignee: nobody → openstack-gd (openstack-gd)
Revision history for this message
Brian Waldon (bcwaldon) wrote :

Looks like nova.wsgi.Request.get_content_type just isn't smart enough to handle charsets

Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Medium
status: New → In Progress
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → diablo-1
Thierry Carrez (ttx)
Changed in nova:
milestone: diablo-1 → 2011.3
status: Fix Committed → Fix Released
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.