Need to encode HTTP headers in UTF-8
Bug #1042078 reported by
Vincent Untz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
High
|
Vincent Untz |
Bug Description
When glance is used behind mod_wsgi, I'm hitting a bug like the one described in https:/
The errors appearing in the apache log is this:
TypeError: sequence of byte string values expected, value of type unicode found
This is happening because we're outputting some unicode variables in the HTTP headers, and mod_wsgi doesn't know what to do with them. Instead, we should just make sure all headers are encoded in UTF-8.
Changed in glance: | |
assignee: | nobody → Vincent Untz (vuntz) |
status: | New → In Progress |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | folsom-rc1 → 2012.2 |
To post a comment you must log in.
https:/ /review. openstack. org/#/c/ 11716/